some more samples
This commit is contained in:
parent
e584c7aa63
commit
41746f22e5
10
docs/samples/new_literals_utf8.lyng
Executable file
10
docs/samples/new_literals_utf8.lyng
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/env lyng
|
||||
|
||||
val переменная = "значение"
|
||||
|
||||
val data = { greeting: "привет", переменная:, поле: "содержимое" }
|
||||
|
||||
assertEquals(data["переменная"], "значение")
|
||||
assertEquals(data["поле"], "содержимое")
|
||||
|
||||
println(data)
|
||||
Loading…
x
Reference in New Issue
Block a user