diff options
author | Jason Height <jheight@apache.org> | 2005-08-18 07:13:15 +0000 |
---|---|---|
committer | Jason Height <jheight@apache.org> | 2005-08-18 07:13:15 +0000 |
commit | d715964e0caf86c92003760cfcae3efc48056de3 (patch) | |
tree | 45ebf1a1654cda6b9259c17d9555206644c9ee20 /src/testcases | |
parent | ada69333b277a95ccfc608144b991cfd8d1a9d37 (diff) | |
download | poi-d715964e0caf86c92003760cfcae3efc48056de3.tar.gz poi-d715964e0caf86c92003760cfcae3efc48056de3.zip |
Why is there always one file that gets missed??
Minor fix to correct testcase asd a result of Unicode patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/record/TestSSTRecord.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/hssf/record/TestSSTRecord.java b/src/testcases/org/apache/poi/hssf/record/TestSSTRecord.java index f4c41d7d08..03990a2fb3 100644 --- a/src/testcases/org/apache/poi/hssf/record/TestSSTRecord.java +++ b/src/testcases/org/apache/poi/hssf/record/TestSSTRecord.java @@ -429,7 +429,7 @@ public class TestSSTRecord HSSFWorkbook wb = new HSSFWorkbook( stream ); stream.close(); HSSFSheet sheet = wb.getSheetAt( 1 ); - assertEquals( "01/05 (Wed) ", sheet.getRow( 0 ).getCell( (short) 8 ).getStringCellValue() ); + assertEquals( "01/05 (Wed)", sheet.getRow( 0 ).getCell( (short) 8 ).getStringCellValue() ); assertEquals( "01/05 (Wed)", sheet.getRow( 1 ).getCell( (short) 8 ).getStringCellValue() ); file = TempFile.createTempFile( "testout", "xls" ); @@ -445,11 +445,11 @@ public class TestSSTRecord stream.close(); sheet = wb.getSheetAt( 0 ); int row = 0; - assertEquals( "Testing ", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); + assertEquals( "Testing", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); assertEquals( "rich", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); assertEquals( "text", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); assertEquals( "strings", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); - assertEquals( "Testing ", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); + assertEquals( "Testing", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); assertEquals( "Testing", sheet.getRow( row++ ).getCell( (short) 0 ).getStringCellValue() ); // file = new File("/tryme.xls"); |