Skip to content

Commit 065fb19

Browse files
committed
More tests
1 parent 4f80127 commit 065fb19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test_utils.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ function test_cases()
130130
[],
131131
),
132132
Testcase("kwargs tester 2", nothing, (kwarg_tester, 4.0), (; y=5.0), []),
133+
Testcase("default kwarg tester", nothing, (default_kwarg_tester, 4.0), nothing, []),
134+
Testcase("default kwarg tester", nothing, (default_kwarg_tester, 4.0), (;), []),
133135
]
134136
end
135137

@@ -266,4 +268,6 @@ end
266268

267269
kwarg_tester(x; y) = x + y
268270

271+
default_kwarg_tester(x; y=5.0) = x * y
272+
269273
end

0 commit comments

Comments
 (0)