Skip to content

Commit

Permalink
hopefully fix diff checking
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Oct 13, 2023
1 parent 40c3efa commit 26900ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tools/integration-tests/src/integration-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class IntegrationTest {
const outDir = await this.mkTmpDir()
const diffResult = await diff(this.dir, this.file, this.stackName, outDir)
console.log('diff complete', diffResult)
const hasDifferences = diffResult.split('\n')[0].trim() !== 'There were no differences'
const hasDifferences = !diffResult.toLowerCase().includes('there were no differences')

if (hasDifferences) {
throw new Error('has diff')
Expand Down

0 comments on commit 26900ab

Please sign in to comment.