You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/04/09 14:44:00 UTC
(grails-core) branch spring-boot-4 updated: Remove invalid tests
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch spring-boot-4
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/spring-boot-4 by this push:
new f28b048876 Remove invalid tests
f28b048876 is described below
commit f28b0488760f2ad4a63c1fa7b1f5dc0d60f95721
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Thu Apr 9 10:43:52 2026 -0400
Remove invalid tests
---
.../groovy/org/grails/web/taglib/FormatTagLibSpec.groovy | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibSpec.groovy b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibSpec.groovy
index c1f7670cdd..d2ba6e1ada 100644
--- a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibSpec.groovy
+++ b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibSpec.groovy
@@ -26,26 +26,12 @@ import spock.lang.Specification
class FormatTagLibSpec extends Specification implements TagLibUnitTest<FormatTagLib> {
- void testFormatCurrencyForJava8() {
- given:
- BigDecimal number = "3.12325678" as BigDecimal
- "3,12 €" == applyTemplate('<g:formatNumber type="currency" number="${number}" locale="fi_FI" />', [number: number])
- }
-
void testFormatCurrency() {
given:
BigDecimal number = "3.12325678" as BigDecimal
"3,12${new String([160] as char[])}€" == applyTemplate('<g:formatNumber type="currency" number="${number}" locale="fi_FI" />', [number: number])
}
- void testFormatCurrencyWithCodeAndLocaleForJava8() {
- given:
- BigDecimal number = "3.12325678" as BigDecimal
-
- expect:
- "3,12 USD" == applyTemplate('<g:formatNumber type="currency" currencyCode="USD" number="${number}" locale="fi_FI" />', [number: number])
- }
-
@IgnoreIf({ jvm.isJava8() })
void testFormatCurrencyWithCodeAndLocale() {
given: