# 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:
t3: error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o':
    ./in.cue:5:5

Result:
t1: "666f6f"
t2: 'foo'
t3: _|_ // t3: error in call to encoding/hex.Decode: encoding/hex: invalid byte: U+006F 'o'
t4: """
	00000000  66 6f 6f                                          |foo|

	"""
