From 26e22d84e4b701cae7d747b4cf93d0d016a9e850 Mon Sep 17 00:00:00 2001 From: MDjavaheri Date: Wed, 31 Mar 2021 18:04:36 -0400 Subject: [PATCH] fix != == mixup that prevented test from running --- JavaScript/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JavaScript/test.js b/JavaScript/test.js index 0fae76c..49683bb 100644 --- a/JavaScript/test.js +++ b/JavaScript/test.js @@ -31,7 +31,7 @@ try { throw new Error("Please provide your application id and password!"); } - if( imagePath == 'myFile.jpg') { + if( imagePath != 'myFile.jpg') { throw new Error( "Please provide path to your image!") }