blob: d6a2ccc9c101efb92bc62891d9a7914b24d632af [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: escaping
#evalPartial
-- in.cue --
a: "foo\nbar"
b: a
// TODO: mimic http://exploringjs.com/es6/ch_template-literals.html#sec_introduction-template-literals
-- out/def --
a: """
foo
bar
"""
b: """
foo
bar
"""
-- out/export --
a: """
foo
bar
"""
b: """
foo
bar
"""
-- out/yaml --
a: |-
foo
bar
b: |-
foo
bar
-- out/json --
{"a":"foo\nbar","b":"foo\nbar"}
-- out/legacy-debug --
<0>{a: "foo\nbar", b: "foo\nbar"}
-- out/compile --
--- in.cue
{
a: "foo\nbar"
b: 0;a
}
-- out/eval --
(struct){
a: (string){ "foo\nbar" }
b: (string){ "foo\nbar" }
}