Skip to content

Commit

Permalink
adapted two tests to comply with changes introduced by proycon/folia#88
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Dec 10, 2020
1 parent 7ca1746 commit 9e83b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([foliatest], [0.9], [[email protected]])
AC_INIT([foliatest], [0.10], [[email protected]])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
6 changes: 3 additions & 3 deletions src/foliatest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3807,8 +3807,8 @@ void edit_test018c(){
assertEqual( s->text("larch"),"And now for something completely different." );
// 6 get one word
FoliaElement *w = editDoc["example.p.1.s.1.w.8"];
// check it's REAL text, including spaced
assertEqual( w->text("original"), " œuvre " );
// check it's REAL text, but not including leading/trailing spaces
assertEqual( w->text("original"), "œuvre" );
// check the normalized value
assertEqual( normalize_spaces(w->text("original")), "œuvre" );
// We may NOT changed te text
Expand Down Expand Up @@ -4836,7 +4836,7 @@ void text_test15(){
"</FoLiA>";
Document doc;
assertNoThrow( doc.read_from_string( xml ) );
assertEqual( doc["test.s"]->text(), "Dit\n is een rare test.\n ");
assertEqual( doc["test.s"]->text(), "Dit\n is een rare test.");
}

void text_test16(){
Expand Down

0 comments on commit 9e83b59

Please sign in to comment.