summaryrefslogtreecommitdiff
path: root/src/tests/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test.py')
-rw-r--r--src/tests/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test.py b/src/tests/test.py
index cd99e95..b42d062 100644
--- a/src/tests/test.py
+++ b/src/tests/test.py
@@ -134,8 +134,8 @@ class ExtraTestCase(unittest.TestCase):
def f(x):
return x
- self.assertEqual(add(f)(0), 1)
- self.assertEqual(add(f, 2)(0), 2)
+ self.assertEqual(add(2, f)(0), 2)
+
# ################### test dispatch_on ############################# #
# adapted from test_functools in Python 3.5