Skip to content

Commit 08df1e4

Browse files
committed
Add hyphen to error message check files
1 parent 6ba5b5b commit 08df1e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/init/neg/closureLeak.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
| Cannot prove that the value is fully-initialized. Only initialized values may be used as arguments.
55
|
66
| The unsafe promotion may cause the following problem:
7-
| Cannot prove that the value is fully initialized. Only initialized values may be used as arguments.
7+
| Cannot prove that the value is fully-initialized. Only initialized values may be used as arguments.

tests/init/neg/default-this.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Error: tests/init/neg/default-this.scala:9:8 ------------------------------------------------------------------------
22
9 | compare() // error
33
| ^^^^^^^
4-
| Cannot prove that the value is fully initialized. Only initialized values may be used as arguments. Calling trace:
4+
| Cannot prove that the value is fully-initialized. Only initialized values may be used as arguments. Calling trace:
55
| -> val result = updateThenCompare(5) [ default-this.scala:11 ]

0 commit comments

Comments
 (0)