Skip to content

Commit 4faab26

Browse files
dinesh-crestannadata
authored andcommitted
-Revert test case update
1 parent 60fd65c commit 4faab26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dlp/system-test/inspect.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -482,17 +482,17 @@ describe('inspect', () => {
482482
// dlp_inspect_string_with_exclusion_dict
483483
it('should inspect using exclusion word list', () => {
484484
const output = execSync(
485-
`node inspectStringWithExclusionDict.js ${projectId} "Some email addresses: [email protected], [email protected]" EMAIL_ADDRESS "gary@example.com"`
485+
`node inspectStringWithExclusionDict.js ${projectId} "Some email addresses: [email protected], [email protected]" EMAIL_ADDRESS "example@example.com"`
486486
);
487-
assert.notMatch(output, /Quote: gary@example.com/);
488-
assert.match(output, /Quote: example@example.com/);
487+
assert.match(output, /Quote: gary@example.com/);
488+
assert.notMatch(output, /Quote: example@example.com/);
489489
});
490490

491491
it('should report any errors while inspecting a string', () => {
492492
let output;
493493
try {
494494
output = execSync(
495-
`node inspectStringWithExclusionDict.js ${projectId} "Some email addresses: [email protected], [email protected]" BAD_TYPE "gary@example.com"`
495+
`node inspectStringWithExclusionDict.js ${projectId} "Some email addresses: [email protected], [email protected]" BAD_TYPE "example@example.com"`
496496
);
497497
} catch (err) {
498498
output = err.message;

0 commit comments

Comments
 (0)