diff options
| author | to-s <tobias.weber@enisyst.de> | 2020-10-19 11:43:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-19 17:43:47 +0200 |
| commit | d629202dd9419569c109475ad9f10405d8ab0d22 (patch) | |
| tree | b496c943718ac65ff7676536f5643c92bb9590ab /src/test/CppTests/Preprocessor.test.ts | |
| parent | 0750262ca203baf9b8974d683df68f99a7b1c259 (diff) | |
| download | doxdocgen-d629202dd9419569c109475ad9f10405d8ab0d22.tar.gz | |
Replaced assert.equal() calls by assert.strictEqual() calls (#188)
Due to message: deprecated since v9.9.0 - use strictEqual() instead.
Diffstat (limited to 'src/test/CppTests/Preprocessor.test.ts')
| -rw-r--r-- | src/test/CppTests/Preprocessor.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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); }); }); |