diff options
| author | Zongyuan Zuo <eternalphane@gmail.com> | 2019-11-16 11:13:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-16 11:13:48 +0800 |
| commit | 05fee9e8eb71c8ed1c3f6e47110040c105cd42eb (patch) | |
| tree | 74a7de00fc142bcac8e93bf724553d9efd536847 /src/test/CppTests/Attributes.test.ts | |
| parent | 5648d5ed96d6150f14530f14df5842dc248bf4be (diff) | |
| parent | d12cfa9537790ce3489967f77de18ef52717daeb (diff) | |
| download | doxdocgen-05fee9e8eb71c8ed1c3f6e47110040c105cd42eb.tar.gz | |
Merge branch 'master' into master
Diffstat (limited to 'src/test/CppTests/Attributes.test.ts')
| -rw-r--r-- | src/test/CppTests/Attributes.test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/CppTests/Attributes.test.ts b/src/test/CppTests/Attributes.test.ts index bfeaef1..a6641e1 100644 --- a/src/test/CppTests/Attributes.test.ts +++ b/src/test/CppTests/Attributes.test.ts @@ -59,4 +59,9 @@ suite("C++ - Attributes Tests", () => { const result = testSetup.SetLine("constexpr int foo(int a, double& b) throw(std::except);").GetResult(); assert.equal("/**\n * @brief \n * \n * @param a \n * @param b \n * @return constexpr int \n */", result); }); + + test("Newline in function", () => { + const result = testSetup.SetLines(["static void ResetActionState( BOOL sendNAK )", "{"]).GetResult(); + assert.equal("/**\n * @brief \n * \n * @param sendNAK \n */", result); + }); }); |