You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/05/19 14:49:35 UTC
groovy git commit: move test into vm8 package
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_5_X f10f3b226 -> c5062a1ed
move test into vm8 package
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c5062a1e
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c5062a1e
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c5062a1e
Branch: refs/heads/GROOVY_2_5_X
Commit: c5062a1ed543bbcffaaab8155f79081e5ee7955d
Parents: f10f3b2
Author: Paul King <pa...@asert.com.au>
Authored: Sun May 20 00:49:30 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Sun May 20 00:49:30 2018 +1000
----------------------------------------------------------------------
.../groovy/groovy/bugs/Groovy8579Bug.groovy | 34 --------------------
.../groovy/groovy/bugs/vm8/Groovy8579Bug.groovy | 34 ++++++++++++++++++++
2 files changed, 34 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/c5062a1e/subprojects/tests-vm8/src/test/groovy/groovy/bugs/Groovy8579Bug.groovy
----------------------------------------------------------------------
diff --git a/subprojects/tests-vm8/src/test/groovy/groovy/bugs/Groovy8579Bug.groovy b/subprojects/tests-vm8/src/test/groovy/groovy/bugs/Groovy8579Bug.groovy
deleted file mode 100644
index 1945e47..0000000
--- a/subprojects/tests-vm8/src/test/groovy/groovy/bugs/Groovy8579Bug.groovy
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package groovy.bugs
-
-class Groovy8579Bug extends GroovyTestCase {
- void testCallToStaticInterfaceMethod() {
- assertScript '''
- import groovy.transform.CompileStatic
-
- @CompileStatic
- Comparator myMethod() {
- Map.Entry.comparingByKey()
- }
-
- assert myMethod() instanceof Comparator
- '''
- }
-}
http://git-wip-us.apache.org/repos/asf/groovy/blob/c5062a1e/subprojects/tests-vm8/src/test/groovy/groovy/bugs/vm8/Groovy8579Bug.groovy
----------------------------------------------------------------------
diff --git a/subprojects/tests-vm8/src/test/groovy/groovy/bugs/vm8/Groovy8579Bug.groovy b/subprojects/tests-vm8/src/test/groovy/groovy/bugs/vm8/Groovy8579Bug.groovy
new file mode 100644
index 0000000..bd898c5
--- /dev/null
+++ b/subprojects/tests-vm8/src/test/groovy/groovy/bugs/vm8/Groovy8579Bug.groovy
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package groovy.bugs.vm8
+
+class Groovy8579Bug extends GroovyTestCase {
+ void testCallToStaticInterfaceMethod() {
+ assertScript '''
+ import groovy.transform.CompileStatic
+
+ @CompileStatic
+ Comparator myMethod() {
+ Map.Entry.comparingByKey()
+ }
+
+ assert myMethod() instanceof Comparator
+ '''
+ }
+}