Skip to content

Commit 06c168f

Browse files
committed
Formatting
1 parent 3205273 commit 06c168f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
using Documenter, Libtask
22

3-
makedocs(sitename="Libtask")
3+
makedocs(; sitename="Libtask")

src/test_utils.jl

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,25 @@ function test_cases()
4646
),
4747
Testcase("produce old", nothing, (produce_old_value, 5.0), [sin(5.0), sin(5.0)]),
4848
Testcase("branch on old value l", nothing, (branch_on_old_value, 2.0), [true, 2.0]),
49-
Testcase("branch on old value r", nothing, (branch_on_old_value, -1.0), [false, -2.0]),
49+
Testcase(
50+
"branch on old value r", nothing, (branch_on_old_value, -1.0), [false, -2.0]
51+
),
5052
Testcase("no produce", nothing, (no_produce_test, 5.0, 4.0), []),
5153
Testcase("new object", nothing, (new_object_test, 5, 4), [C(5, 4), C(5, 4)]),
52-
Testcase("branching test l", nothing, (branching_test, 5.0, 4.0), [string(sin(5.0))]),
53-
Testcase("branching test r", nothing, (branching_test, 4.0, 5.0), [sin(4.0) * cos(5.0)]),
54+
Testcase(
55+
"branching test l", nothing, (branching_test, 5.0, 4.0), [string(sin(5.0))]
56+
),
57+
Testcase(
58+
"branching test r", nothing, (branching_test, 4.0, 5.0), [sin(4.0) * cos(5.0)]
59+
),
5460
Testcase("unused argument test", nothing, (unused_argument_test, 3), [1]),
5561
Testcase("test with const", nothing, (test_with_const,), [1]),
5662
Testcase("while loop", nothing, (while_loop,), collect(1:9)),
5763
Testcase(
58-
"foreigncall tester", nothing, (foreigncall_tester, "hi"), [Ptr{UInt8}, Ptr{UInt8}]
64+
"foreigncall tester",
65+
nothing,
66+
(foreigncall_tester, "hi"),
67+
[Ptr{UInt8}, Ptr{UInt8}],
5968
),
6069
Testcase("dynamic scope 1", 5, (dynamic_scope_tester_1,), [5]),
6170
Testcase("dynamic scope 2", 6, (dynamic_scope_tester_1,), [6]),

0 commit comments

Comments
 (0)