diff options
| author | to-s <to-s@users.noreply.github.com> | 2021-05-08 00:47:21 +0200 |
|---|---|---|
| committer | Christoph Schlosser <2466365+cschlosser@users.noreply.github.com> | 2021-05-08 21:01:49 +0200 |
| commit | ddd24fe12bfb3557f422c1c8dc1d5464d2961c34 (patch) | |
| tree | abd59e9b0f80fac1b828926d1194ea7cff364e21 /src/test/CppTests/Preprocessor.test.ts | |
| parent | 54aaa131a116ac63f918b222ca46faeb61efd1e9 (diff) | |
| download | doxdocgen-ddd24fe12bfb3557f422c1c8dc1d5464d2961c34.tar.gz | |
Reordered assertion parameter in tests
Due to https://github.com/cschlosser/doxdocgen/issues/218
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 eff1773..53bc4ef 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.strictEqual("/**\n * @brief \n * \n */", result); + assert.strictEqual(result, "/**\n * @brief \n * \n */"); }); // Tests @@ -28,7 +28,7 @@ suite("C++ - Preprocessor Tests", () => { "/**", " */", ]).GetResult(); - assert.strictEqual("/**\n * @brief \n * \n */", result); + assert.strictEqual(result, "/**\n * @brief \n * \n */"); }); // 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.strictEqual("/**\n * @brief \n * \n * @param bar \n */", result); + assert.strictEqual(result, "/**\n * @brief \n * \n * @param bar \n */"); }); test("don't detect closing */", () => { @@ -47,6 +47,6 @@ suite("C++ - Preprocessor Tests", () => { " */", "void foo(int bar);", ]).GetResult(); - assert.strictEqual("/**\n * @brief \n * \n */", result); + assert.strictEqual(result, "/**\n * @brief \n * \n */"); }); }); |