Skip to content

Commit 68a817e

Browse files
committed
fix tests
1 parent ed9f771 commit 68a817e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ benchmark_*md
5353
examples/*Compiled
5454
statprof
5555
profile.pb.gz
56-
.swp
56+
.swp
57+
*.info

test/graph_construction_tests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ end
17311731

17321732
@test_logs (
17331733
:warn,
1734-
"Comparing Factor Graph variable (x) with a value. This is not possible as the value of x is not known at model construction time."
1734+
"Comparing Factor Graph variable `x` with a value. This is not possible as the value of `x` is not known at model construction time."
17351735
) create_model(test_model(y = 1))
17361736

17371737
@model function test_model(y)
@@ -1745,7 +1745,7 @@ end
17451745

17461746
@test_logs (
17471747
:warn,
1748-
"Comparing Factor Graph variable (x) with a value. This is not possible as the value of x is not known at model construction time."
1748+
"Comparing Factor Graph variable `x` with a value. This is not possible as the value of `x` is not known at model construction time."
17491749
) create_model(test_model(y = 1))
17501750

17511751
@model function test_model(y)
@@ -1759,7 +1759,7 @@ end
17591759

17601760
@test_logs (
17611761
:warn,
1762-
"Comparing Factor Graph variable (x) with a value. This is not possible as the value of x is not known at model construction time."
1762+
"Comparing Factor Graph variable `x` with a value. This is not possible as the value of `x` is not known at model construction time."
17631763
) create_model(test_model(y = 1))
17641764

17651765
@model function test_model(y)
@@ -1773,6 +1773,6 @@ end
17731773

17741774
@test_logs (
17751775
:warn,
1776-
"Comparing Factor Graph variable (x) with a value. This is not possible as the value of x is not known at model construction time."
1776+
"Comparing Factor Graph variable `x` with a value. This is not possible as the value of `x` is not known at model construction time."
17771777
) create_model(test_model(y = 1))
17781778
end

0 commit comments

Comments
 (0)