blob: 1b8269416b5d22204d8bc772edc9d37853e9e099 [file] [log] [blame]
# generated from the original tests.
# Henceforth it may be nicer to group tests into separate files.
-- in.cue --
import "encoding/hex"
t1: hex.Encode("foo")
t2: hex.Decode(hex.Encode("foo"))
t3: hex.Decode("foo")
t4: hex.Dump('foo')
-- out/hex --
Errors:
error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o':
./in.cue:5:5
Result:
t1: "666f6f"
t2: 'foo'
t3: _|_ // error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o'
t4: """
00000000 66 6f 6f |foo|
"""