From 89972ee822b4dbbecfaccb4763dc722270a68373 Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Tue, 2 Apr 2019 14:02:08 -0700 Subject: [PATCH] fix(samples): make test assertion less specific (#354) --- vision/samples/system-test/detect.v1p1beta1.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision/samples/system-test/detect.v1p1beta1.test.js b/vision/samples/system-test/detect.v1p1beta1.test.js index 1b6947a689..0554e56a67 100644 --- a/vision/samples/system-test/detect.v1p1beta1.test.js +++ b/vision/samples/system-test/detect.v1p1beta1.test.js @@ -51,6 +51,6 @@ describe(`detect v1 p1 beta1`, () => { it(`should detect web entities using geographical metadata`, async () => { const output = await exec(`${cmd} web-entities-geo ${files[3].localPath}`); - assert.match(output, /Electra/); + assert.match(output, /Score:/); }); });