Skip to content

Commit

Permalink
test: use regex when asserting table output (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley authored Oct 30, 2024
1 parent 217f445 commit 3fcaf65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nuts/tracking/forceIgnore.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ describe('forceignore changes', () => {
}).shellOutput.stdout;

expect(output).to.include('Will Deploy [1] files.');
expect(output).to.include('ApexClass UnIgnoreTest');
expect(output).to.match(/ApexClass\s+UnIgnoreTest/);
expect(output).to.not.include("These files won't deploy because they're ignored by your .forceignore file.");
expect(output).to.not.include('ApexClass IgnoreTest');
expect(output).to.not.match(/ApexClass\s+IgnoreTest/);
});
});
});

0 comments on commit 3fcaf65

Please sign in to comment.