We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5109265 commit ab9a589Copy full SHA for ab9a589
tests/neg/dedented-string-literals.scala
@@ -1,21 +1,21 @@
1
// Test error cases for dedented string literals
2
3
-object DedentedStringErrors {
+object DedentedStringErrors { // nopos-error // nopos-error // nopos-error
4
// Error: No newline after opening quotes
5
val noNewlineAfterOpen = '''content on same line // error
6
7
- // Error: Content not indented enough // error
+ // Error: Content not indented enough
8
val notIndented = '''
9
content
10
'''
11
12
- // Error: Mixed tabs and spaces // error
+ // Error: Mixed tabs and spaces
13
val mixedTabsSpaces = '''
14
tab line
15
space line
16
17
18
- // Error: Unclosed literal // error
+ // Error: Unclosed literal
19
val unclosed = '''
20
some content
21
}
0 commit comments