mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Test metadata value changing
This commit is contained in:
		
				
					committed by
					
						
						Loïc Blot
					
				
			
			
				
	
			
			
			
						parent
						
							88b04eadc9
						
					
				
				
					commit
					408af9d17d
				
			@@ -12,7 +12,8 @@ compare_meta:from_table({
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
local function test_metadata(meta)
 | 
			
		||||
	meta:from_table({fields = {a = 1, b = "2"}})
 | 
			
		||||
	meta:from_table({fields = {a = 2, b = "2"}})
 | 
			
		||||
	meta:set_string("a", 1)
 | 
			
		||||
	meta:set_string("c", "3")
 | 
			
		||||
	meta:set_int("d", 4)
 | 
			
		||||
	meta:set_string("e", "e")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user