test that filenames are garbled

We've done this for a while, but we weren't testing it.

Fixes #1.
pull/22/head
Daniel Martí 5 years ago
parent 308e984293
commit 302cc137b6

@ -2,7 +2,7 @@ garble build
exec ./main
cmp stdout main.stdout
! binsubstr main$exe 'ImportedVar' 'ImportedConst' 'ImportedFunc' 'ImportedType'
! binsubstr main$exe 'ImportedVar' 'ImportedConst' 'ImportedFunc' 'ImportedType' 'main.go' 'imported.go'
[short] stop # checking that the build is reproducible is slow

Loading…
Cancel
Save