Skip to content

Commit

Permalink
update check files
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Hoekstra committed Aug 2, 2019
1 parent bc04542 commit 220fc45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/files/neg/t6631.check
@@ -1,4 +1,4 @@
t6631.scala:2: error: invalid escape '\x' not one of [\b, \t, \n, \f, \r, \\, \", \'] at index 0 in "\x". Use \\ for literal \.
t6631.scala:2: error: invalid escape '\x' not one of [\b, \t, \n, \f, \r, \, \", \', \uxxxx] at index 0 in "\x". Use \\ for literal \.
s"""\x"""
^
one error found
8 changes: 4 additions & 4 deletions test/files/run/literals.check
@@ -1,12 +1,12 @@
literals.scala:58: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
literals.scala:63: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
check_success("1l == 1L", 1l, 1L)
^
literals.scala:59: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
literals.scala:64: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
check_success("1L == 1l", 1L, 1l)
^
literals.scala:60: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
literals.scala:65: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
check_success("1.asInstanceOf[Long] == 1l", 1.asInstanceOf[Long], 1l)
^
literals.scala:107: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
literals.scala:112: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead
check_success("1l.asInstanceOf[Double] == 1.0", 1l.asInstanceOf[Double], 1.0)
^

0 comments on commit 220fc45

Please sign in to comment.