summaryrefslogtreecommitdiffstats
path: root/src/test/CppTests/Preprocessor.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/CppTests/Preprocessor.test.ts')
-rw-r--r--src/test/CppTests/Preprocessor.test.ts8
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);
});
});