aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/roundup/roundup-avoid-bash-syntax-in-tests.patch
blob: ecd2f076ea8b4a69ed119a0b84534874330d7ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/roundup-5-test.sh b/roundup-5-test.sh
index 250a586..8e8739a 100644
--- a/roundup-5-test.sh
+++ b/roundup-5-test.sh
@@ -87,10 +87,10 @@ it_runs_after_if_a_test_fails_part_2() {
 
 # Output the correct return code of a failing command of a testcase.
 it_outputs_the_return_code_7() {
-    function f() { return 42; }
+    f() { return 42; }
     x=$(echo asdf)
 
-    function g() { return 7; }
+    g() { return 7; }
     g
 }