Add to verbosity of failures to find prototypes in headers.

This commit is contained in:
Mark VanderVoord
2024-02-21 13:52:07 -05:00
parent cac4907c27
commit 083bbd6a38
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -383,7 +383,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
begin
@parser.parse("module", source)
rescue RuntimeError => e
assert_equal("ERROR: No function prototypes found!", e.message)
assert_match("ERROR: No function prototypes found", e.message)
end
end
@@ -407,7 +407,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
begin
@parser.parse("module", source)
rescue RuntimeError => e
assert_equal("ERROR: No function prototypes found!", e.message)
assert_match("ERROR: No function prototypes found", e.message)
end
end
@@ -435,7 +435,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
begin
@parser.parse("module", source)
rescue RuntimeError => e
assert_equal("ERROR: No function prototypes found!", e.message)
assert_match("ERROR: No function prototypes found", e.message)
end
end
@@ -676,7 +676,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
begin
@parser.parse("module", source)
rescue RuntimeError => e
assert_equal("ERROR: No function prototypes found!", e.message)
assert_match("ERROR: No function prototypes found", e.message)
end
end
@@ -705,7 +705,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
begin
@parser.parse("module", source)
rescue RuntimeError => e
assert_equal("ERROR: No function prototypes found!", e.message)
assert_match("ERROR: No function prototypes found", e.message)
end
end