From d629202dd9419569c109475ad9f10405d8ab0d22 Mon Sep 17 00:00:00 2001 From: to-s Date: Mon, 19 Oct 2020 11:43:47 -0400 Subject: Replaced assert.equal() calls by assert.strictEqual() calls (#188) Due to message: deprecated since v9.9.0 - use strictEqual() instead. --- src/test/CppTests/Preprocessor.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/CppTests/Preprocessor.test.ts') diff --git a/src/test/CppTests/Preprocessor.test.ts b/src/test/CppTests/Preprocessor.test.ts index 7e4708b..eff1773 100644 --- a/src/test/CppTests/Preprocessor.test.ts +++ b/src/test/CppTests/Preprocessor.test.ts @@ -18,7 +18,7 @@ suite("C++ - Preprocessor Tests", () => { // Tests test("Macro", () => { const result = testSetup.GetResult(); - assert.equal("/**\n * @brief \n * \n */", result); + assert.strictEqual("/**\n * @brief \n * \n */", result); }); // Tests @@ -28,7 +28,7 @@ suite("C++ - Preprocessor Tests", () => { "/**", " */", ]).GetResult(); - assert.equal("/**\n * @brief \n * \n */", result); + assert.strictEqual("/**\n * @brief \n * \n */", result); }); // These two tests don't seem to belong here but the behavior they're testing only is reproducable @@ -38,7 +38,7 @@ suite("C++ - Preprocessor Tests", () => { "*/", // simulate an auto generated closing block comment "void foo(int bar);", ]).GetResult(); - assert.equal("/**\n * @brief \n * \n * @param bar \n */", result); + assert.strictEqual("/**\n * @brief \n * \n * @param bar \n */", result); }); test("don't detect closing */", () => { @@ -47,6 +47,6 @@ suite("C++ - Preprocessor Tests", () => { " */", "void foo(int bar);", ]).GetResult(); - assert.equal("/**\n * @brief \n * \n */", result); + assert.strictEqual("/**\n * @brief \n * \n */", result); }); }); -- cgit v1.2.3