You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/02/16 10:29:53 UTC
[groovy] branch master updated: Fix typo
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 026f5f3 Fix typo
026f5f3 is described below
commit 026f5f39b8d205967bd4dbf7579651280a4e0128
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Feb 16 18:29:43 2020 +0800
Fix typo
---
src/test/groovy/bugs/Groovy9400.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/groovy/bugs/Groovy9400.groovy b/src/test/groovy/bugs/Groovy9400.groovy
index bd52845..a744b87 100644
--- a/src/test/groovy/bugs/Groovy9400.groovy
+++ b/src/test/groovy/bugs/Groovy9400.groovy
@@ -26,14 +26,14 @@ import static groovy.test.GroovyAssert.assertScript
@CompileStatic
final class Groovy9400 {
@Test
- void testLF() {
+ void testCR() {
final GroovyShell shell = new GroovyShell()
def script = shell.parse("println('hello world 1')\rprintln('hello world 2')")
script.run()
}
@Test
- void testLF2() {
+ void testCR2() {
final GroovyShell shell = new GroovyShell()
def script = shell.parse("def a = 1\rdef b = a\rb")
assert 1 == script.run()