Permalink
Browse files

move failing test

  • Loading branch information...
1 parent 3d5a921 commit 98d875d0749024737b738b4499acb96afffa24ff @jeffbrown jeffbrown committed Dec 14, 2015
@@ -44,4 +44,10 @@ class Base64CodecTests extends GroovyTestCase {
assertEquals(dataPrimitive, dataPrimitive.encodeAsBase64().decodeBase64())
assertEquals(dataWrapper, dataWrapper.encodeBase64().decodeBase64())
}
+
+ void testEncodeDecodeAsBase64() {
+ assertEquals "dGVzdA==", "test".bytes.encodeAsBase64()
+ assertEquals "dGVzdA==", "test".encodeAsBase64()
+ assertEquals "test", new String("dGVzdA==".decodeBase64())
+ }
}
@@ -47,10 +47,4 @@ class CodecsGrailsPluginTests extends AbstractGrailsPluginTests {
someString.encodeAsThird()
}
}
-
- void testEncodeDecodeAsBase64() {
- assertEquals "dGVzdA==", "test".bytes.encodeAsBase64()
- assertEquals "dGVzdA==", "test".encodeAsBase64()
- assertEquals "test",new String("dGVzdA==".decodeBase64())
- }
}

0 comments on commit 98d875d

Please sign in to comment.