# 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' | |
Result: | |
t1: "666f6f" | |
t2: 'foo' | |
t3: _|_ // error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o' (and 1 more errors) | |
t4: """ | |
00000000 66 6f 6f |foo| | |
""" | |