tests/functional2/lang: Migrate builtins.toXML
Change-Id: I31f47b9953ef0370dd8e57f6e43ee32d278c3663
This commit is contained in:
@@ -1 +0,0 @@
|
||||
"<?xml version='1.0' encoding='utf-8'?>\n<expr>\n <attrs>\n <attr name=\"a\">\n <string value=\"s\" />\n </attr>\n </attrs>\n</expr>\n"
|
||||
@@ -1,3 +0,0 @@
|
||||
# Make sure the expected XML output is produced; in particular, make sure it
|
||||
# doesn't contain source location information.
|
||||
builtins.toXML { a = "s"; }
|
||||
@@ -1 +0,0 @@
|
||||
"<?xml version='1.0' encoding='utf-8'?>\n<expr>\n <list>\n <string value=\"ab\" />\n <int value=\"10\" />\n <attrs>\n <attr name=\"x\">\n <string value=\"x\" />\n </attr>\n <attr name=\"y\">\n <string value=\"x\" />\n </attr>\n </attrs>\n </list>\n</expr>\n"
|
||||
@@ -1 +0,0 @@
|
||||
builtins.toXML [("a" + "b") 10 (rec {x = "x"; y = x;})]
|
||||
Reference in New Issue
Block a user