Skip to content

Commit 05f0d04

Browse files
Config parsing test minor changes & formatting
1 parent d0b9ac7 commit 05f0d04

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Src/Tests/ConfigParsingTest.cpp

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ int main(int argc, char** argv)
128128
.Returns<std::string>(versionString)
129129
.If
130130
(
131-
[&versionIfstreamInstance]
132-
(void* instance, ...) -> bool
131+
[&versionIfstreamInstance](void* instance, ...) -> bool
133132
{
134133
return instance == versionIfstreamInstance;
135134
}
@@ -489,8 +488,7 @@ int main(int argc, char** argv)
489488
.Times(1)
490489
.WhenCalledExpectedly_Do
491490
(
492-
[&gccImportIfstreamInstance]
493-
(void* instance, ...)
491+
[&gccImportIfstreamInstance](void* instance, ...)
494492
{
495493
gccImportIfstreamInstance = instance;
496494
}
@@ -502,8 +500,7 @@ int main(int argc, char** argv)
502500
.Times(1)
503501
.WhenCalledExpectedly_Do
504502
(
505-
[&filetypesImportIfstreamInstance]
506-
(void* instance, ...)
503+
[&filetypesImportIfstreamInstance](void* instance, ...)
507504
{
508505
filetypesImportIfstreamInstance = instance;
509506
}
@@ -515,8 +512,7 @@ int main(int argc, char** argv)
515512
.Times(1)
516513
.WhenCalledExpectedly_Do
517514
(
518-
[&gccCompilerLinkerImportIfstreamInstance]
519-
(void* instance, ...)
515+
[&gccCompilerLinkerImportIfstreamInstance](void* instance, ...)
520516
{
521517
gccCompilerLinkerImportIfstreamInstance = instance;
522518
}
@@ -554,8 +550,7 @@ int main(int argc, char** argv)
554550
.Times(1)
555551
.If
556552
(
557-
[&gccImportIfstreamInstance]
558-
(void* instance, ...) -> bool
553+
[&gccImportIfstreamInstance](void* instance, ...) -> bool
559554
{
560555
return instance == gccImportIfstreamInstance;
561556
}
@@ -566,8 +561,7 @@ int main(int argc, char** argv)
566561
.Times(1)
567562
.If
568563
(
569-
[&filetypesImportIfstreamInstance]
570-
(void* instance, ...) -> bool
564+
[&filetypesImportIfstreamInstance](void* instance, ...) -> bool
571565
{
572566
return instance == filetypesImportIfstreamInstance;
573567
}
@@ -626,6 +620,7 @@ int main(int argc, char** argv)
626620
"imported-profile");
627621
}
628622
ssTEST_OUTPUT_ASSERT("", CO_GET_FAILED_FUNCTIONS(OverrideInstance).size(), 0);
623+
ssTEST_OUTPUT_VALUES_WHEN_FAILED(CO_GET_FAILED_REPORT(OverrideInstance));
629624
};
630625

631626
ssTEST_END_TEST_GROUP();

0 commit comments

Comments
 (0)