diff options
author | ankitjavalkar | 2016-12-22 15:55:54 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-12-22 16:51:26 +0530 |
commit | 42ed7c142e2c4ff4dccdaec2365e22d30bc276dd (patch) | |
tree | d1eb3c0039478294f4169d6e761ed42dd78a6327 /yaksh/c_cpp_files/main2.c | |
parent | a88197040b69a556f9c7b0432350b9d1d4aad06f (diff) | |
download | online_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.tar.gz online_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.tar.bz2 online_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.zip |
Refactor check method for cleaner code and fixing multiple issues
- Question should skip to new question with new error rendering
- Fix test cases
Fix change_dir context manager in grader
Diffstat (limited to 'yaksh/c_cpp_files/main2.c')
-rwxr-xr-x | yaksh/c_cpp_files/main2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/c_cpp_files/main2.c b/yaksh/c_cpp_files/main2.c index ccd1768..a62195f 100755 --- a/yaksh/c_cpp_files/main2.c +++ b/yaksh/c_cpp_files/main2.c @@ -13,7 +13,7 @@ void check(T expect,T result) else { printf("\nIncorrect:\n Expected %d got %d \n",expect,result); - exit (0); + exit (1); } } |