]> git.lizzy.rs Git - rust.git/commitdiff
Fix expected error message in a test.
authorSimon Sapin <simon.sapin@exyr.org>
Tue, 17 Jun 2014 22:40:57 +0000 (00:40 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Tue, 17 Jun 2014 22:47:20 +0000 (00:47 +0200)
The change is a result of the char/string parsing refactor.

src/test/compile-fail/lex-unknown-str-escape.rs

index f7809b02b0be34a3405f3ba51784ce77ae2cd668..9a59c4227114b3a18f5b8f75763e3a4eb8392165 100644 (file)
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 static s: &'static str =
-    "\●" //~ ERROR: unknown string escape
+    "\●" //~ ERROR: unknown character escape
 ;