testdata: make tiny.txt simpler and faster
By avoiding the fmt import, we save some work: 'go test -run Script/tiny' goes down from 0.8s to 0.5s even with a warm build cache. Since the output changes between runs, we use stderr grep lines instead of cmp. This way we can also check that the "oh noes" panic is entirely hidden in the tiny mode.pull/168/head
parent
6cf1eb6d49
commit
a091dcb3a8
Loading…
Reference in New Issue