[groovy] branch master updated: Fix typo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[groovy] branch master updated: Fix typo

Daniel.Sun
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 <[hidden email]>
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()

Apache Groovy committer & PMC member

Blog: http://blog.sunlan.me
Twitter: @daniel_sun