You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/03/15 07:39:55 UTC
[hop] branch master updated: HOP-3613 testStrToIntStrict
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new e3f8eb6 HOP-3613 testStrToIntStrict
new aecbb89 Merge pull request #1423 from gvdutra/HOP-3613
e3f8eb6 is described below
commit e3f8eb6afb756de988b8a167ee81c11849d11ea3
Author: Gabriel Dutra <gv...@gmail.com>
AuthorDate: Mon Mar 14 21:44:10 2022 -0700
HOP-3613 testStrToIntStrict
---
.../core/row/value/ValueMetaBaseLenientStringConversionTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/core/src/test/java/org/apache/hop/core/row/value/ValueMetaBaseLenientStringConversionTest.java b/core/src/test/java/org/apache/hop/core/row/value/ValueMetaBaseLenientStringConversionTest.java
index 5cbbaab..eb77ee6 100644
--- a/core/src/test/java/org/apache/hop/core/row/value/ValueMetaBaseLenientStringConversionTest.java
+++ b/core/src/test/java/org/apache/hop/core/row/value/ValueMetaBaseLenientStringConversionTest.java
@@ -20,7 +20,6 @@ package org.apache.hop.core.row.value;
import org.apache.hop.core.Const;
import org.apache.hop.core.exception.HopValueException;
import org.junit.Assert;
-import org.junit.Ignore;
import org.junit.Test;
import java.math.BigDecimal;
@@ -50,8 +49,7 @@ public class ValueMetaBaseLenientStringConversionTest {
}
@Test
- @Ignore
- public void testStrToIntStrict() throws Exception {
+ public void testStrToIntStrict() {
System.setProperty(Const.HOP_LENIENT_STRING_TO_NUMBER_CONVERSION, "N");
String[] values = new String[] {"1a", "1,1", "100,000,3", "100.000,3"};
@@ -96,7 +94,7 @@ public class ValueMetaBaseLenientStringConversionTest {
}
@Test
- public void testStrToBigNumberStrict() throws Exception {
+ public void testStrToBigNumberStrict() {
System.setProperty(Const.HOP_LENIENT_STRING_TO_NUMBER_CONVERSION, "N");