summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2014-06-17 16:42:42 -0700
committerTom Jakubowski <tom@crystae.net>2014-06-17 16:42:42 -0700
commit336c0527b355f4d7aaba8dcbe203c2b34f24d0c8 (patch)
tree80b0476ed89f89df59183014476e3adfe4d99aad /rust-mode-tests.el
parent226102cf893a48f49a0de15472d69aecf0df8eb3 (diff)
downloadrust-mode-336c0527b355f4d7aaba8dcbe203c2b34f24d0c8.tar.gz
emacs: Remove outdated references to ~ in tests
Diffstat (limited to 'rust-mode-tests.el')
-rw-r--r--rust-mode-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 6a04352..85800a6 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -301,7 +301,7 @@ struct Foo { bar: int,
struct Blah {x:int,
y:int,
- z:~str}"))
+ z:String"))
(ert-deftest indent-doc-comments ()
(test-indent
@@ -331,7 +331,7 @@ struct foo {
b:char
}
-fn bar(x:~int) { // comment here should not affect the next indent
+fn bar(x:Box<int>) { // comment here should not affect the next indent
bla();
bla();
}"))
@@ -387,7 +387,7 @@ fn baz( a:int, // shoudl work with a comment here
"
fn args_on_the_next_line( // with a comment
a:int,
- b:~str) {
+ b:String) {
let aaaaaa = [
1,
2,