# generated from the original tests. | |
# Henceforth it may be nicer to group tests into separate files. | |
-- in.cue -- | |
import "text/tabwriter" | |
t1: tabwriter.Write(""" | |
a\tb\tc | |
aaa\tbb\tvv | |
""") | |
t2: tabwriter.Write([ | |
"a\tb\tc", | |
"aaa\tbb\tvv"]) | |
-- out/tabwriter -- | |
(struct){ | |
t1: (string){ "a b c\naaa bb vv" } | |
t2: (string){ "a b c\naaa bb vv\n" } | |
} |