...
1# generated from the original tests.
2# Henceforth it may be nicer to group tests into separate files.
3-- in.cue --
4import "encoding/hex"
5
6t1: hex.Encode("foo")
7t2: hex.Decode(hex.Encode("foo"))
8t3: hex.Decode("foo")
9t4: hex.Dump('foo')
10-- out/hex --
11Errors:
12t3: error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o':
13 ./in.cue:5:5
14
15Result:
16t1: "666f6f"
17t2: 'foo'
18t3: _|_ // t3: error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o'
19t4: """
20 00000000 66 6f 6f |foo|
21
22 """
View as plain text