From 302cc137b68a5c4d40f83764758ba4e9445678bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 23 Feb 2020 12:58:57 +0100 Subject: [PATCH] test that filenames are garbled We've done this for a while, but we weren't testing it. Fixes #1. --- testdata/scripts/imports.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/scripts/imports.txt b/testdata/scripts/imports.txt index 5f9e395..a8c1233 100644 --- a/testdata/scripts/imports.txt +++ b/testdata/scripts/imports.txt @@ -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