Skip to content

Commit 4724ab6

Browse files
committed
[test] Allow negative hash values
1 parent 10073cb commit 4724ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/repl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ String(4.0) // CHECK: String = "4.0"
4141

4242
123 .
4343
hashValue
44-
// CHECK: Int = {{[0-9]+$}}
44+
// CHECK: Int = {{-?[0-9]+$}}
4545

4646
// Check that we handle unmatched parentheses in REPL.
4747
1+1)

0 commit comments

Comments
 (0)