-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
For example, the first two-bucket test is
@(test)
/// description = Measure using bucket one of size 3 and bucket two of size 5 - start with bucket one
test_measure_using_bucket_one_of_size_3_and_bucket_two_of_size_5___start_with_bucket_one :: proc(
t: ^testing.T,
) {
result, valid := measure(bucket_one = 3, bucket_two = 5, goal = 1, start_bucket = "one")
testing.expect_value(t, valid, true)
testing.expect_value(t, result.moves, 4)
testing.expect_value(t, result.goal_bucket, "one")
testing.expect_value(t, result.other_bucket, 5)
}But in the web ui, the code run box contains
t: ^testing.T,
) {
result, valid := measure(bucket_one = 3, bucket_two = 5, goal = 1, start_bucket = "one")
testing.expect_value(t, valid, true)
testing.expect_value(t, result.moves, 4)
testing.expect_value(t, result.goal_bucket, "one")
testing.expect_value(t, result.other_bucket, 5)Need to start capturing on the line after the proc's open brace, not the line after the proc name.

Metadata
Metadata
Assignees
Labels
No labels