Skip to content

Commit

Permalink
make tests ignore builtat
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Apr 7, 2018
1 parent 5e4b5cc commit fb08147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/comparison-tests/create-and-execute-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function getNormalisedFileContent(file, location, test) {
? normaliseString(originalContent)
// Built at: 2/15/2018 8:33:18 PM
// Built at: 2018-2-11 17:50:52 (any time is fine for us)
.replace(/^Built at: .+$/gm, 'Built at: A-DATETIME')
.replace(/^Built at: .+$/gm, '')
// We don't want a difference in the number of kilobytes to fail the build
.replace(/[\d]+([.][\d]*)? KiB/g, 'A-NUMBER-OF KiB')
// We also don't want a difference in the number of bytes to fail the build
Expand Down

0 comments on commit fb08147

Please sign in to comment.