Skip to content
Browse files

Added index error case to file execution

Modifed so tests expect it to return a 1 in the exception
  • Loading branch information...
1 parent d42e8bd commit 3444ce992cc634a0006a0ffc1e0aa6659cf4935e @Gianfrancoalongi committed Nov 21, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 UTFile.dyalog
  2. +1 −1 UT_tests.dyalog
View
2 UTFile.dyalog
@@ -16,4 +16,6 @@ fromfile_single_line_failing_array_TEST ← { 1 (1 2) (1 2 3) #.UT.eq ⍳¨⍳3
fromfile_single_line_exception_3_TEST { #.UT.EN 3 4 3 }
+fromfile_single_line_index_error_TEST { 4 3 }
+
:EndNameSpace
View
2 UT_tests.dyalog
@@ -75,7 +75,7 @@ no_exception_single_line_exception_TEST ← { #.UT.EN ← 2 ⋄ 1 + 2 }
Z , 0 #.UT.run 'multi_line_exception_3_failing_TEST'
Z , 0 #.UT.run 'no_exception_single_line_exception_TEST'
'====== Execution from file'
- Z , (4 0 2) #.UT.run_file '/home/gianfranco/APL/UnitTestFrameWork/UTFile.dyalog'
+ Z , (4 1 2) #.UT.run_file '/home/gianfranco/APL/UnitTestFrameWork/UTFile.dyalog'
'================= Finished Unit Test Execution =================='

0 comments on commit 3444ce9

Please sign in to comment.
Something went wrong with that request. Please try again.