Skip to content

Commit bb67e80

Browse files
committed
Fix incorrect test
1 parent 5796ff6 commit bb67e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/lib/formatting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ TEST(FormatterTest, Snippets) {
303303
line
304304
),
305305
cpptrace::microfmt::format(
306-
" > {}: trace.frames.push_back({0x2, 0x1002, {line + 1}, {{20}}, __FILE__, \"foo()\", false});",
306+
" > {}: trace.frames.push_back({0x2, 0x1002, {line + 1}, {{}}, __FILE__, \"foo()\", false});",
307307
line + 1
308308
),
309309
cpptrace::microfmt::format(" {}: auto formatter = cpptrace::formatter{{}}", line + 2),
@@ -325,7 +325,7 @@ TEST(FormatterTest, Snippets) {
325325
),
326326
cpptrace::microfmt::format(" ^"),
327327
cpptrace::microfmt::format(
328-
" {}: trace.frames.push_back({0x2, 0x1002, {line + 1}, {{20}}, __FILE__, \"foo()\", false});",
328+
" {}: trace.frames.push_back({0x2, 0x1002, {line + 1}, {{}}, __FILE__, \"foo()\", false});",
329329
line + 1
330330
),
331331
// frame 2

0 commit comments

Comments
 (0)