Skip to content

Commit 1ff8ec9

Browse files
committed
Add date test cases to SH tests
1 parent 3d5a8c7 commit 1ff8ec9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/nemo_text_processing/fr/test_sparrowhawk_normalization.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/sh
22

33
GRAMMARS_DIR=${1:-"/workspace/sparrowhawk/documentation/grammars"}
4-
PROJECT_DIR=${2:-"/workspace/tests/en"}
4+
PROJECT_DIR=${2:-"/workspace/tests"}
55

66
runtest () {
77
input=$1
@@ -52,5 +52,10 @@ testTNWord() {
5252
runtest $input
5353
}
5454

55+
testTNWord() {
56+
input=$PROJECT_DIR/fr/data_text_normalization/test_cases_date.txt
57+
runtest $input
58+
}
59+
5560
# Load shUnit2
5661
. $PROJECT_DIR/../shunit2/shunit2

0 commit comments

Comments
 (0)