Skip to content

Commit 9268c46

Browse files
committed
style: make format
1 parent 248bf45 commit 9268c46

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/rule.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,8 +1108,9 @@ struct RuleMethodError
11081108
node
11091109
end
11101110

1111-
rule(fform, on, vconstraint, mnames, messages, qnames, marginals, meta, addons, __node) =
1112-
RuleMethodError(fform, on, vconstraint, mnames, messages, qnames, marginals, meta, addons, __node)
1111+
rule(fform, on, vconstraint, mnames, messages, qnames, marginals, meta, addons, __node) = RuleMethodError(
1112+
fform, on, vconstraint, mnames, messages, qnames, marginals, meta, addons, __node
1113+
)
11131114

11141115
function Base.showerror(io::IO, error::RuleMethodError)
11151116
print(io, "RuleMethodError: no method matching rule for the given arguments")

test/rule_tests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
@test_throws ErrorException test_rules_parse_configuration(:configuration, :([options = value = broken]))
6161

6262
for name in (:configuration, :blabla),
63-
check in (true, false),
64-
atol in (1e-4, :([Float64 => 1e-11, Float32 => 1e-4])),
63+
check in (true, false), atol in (1e-4, :([Float64 => 1e-11, Float32 => 1e-4])),
6564
extra_types in (:([Float64]), :([Float32, BigFloat]))
6665

6766
expression = test_rules_parse_configuration(name, :([check_type_promotion = $check, atol = $atol, extra_float_types = $extra_types]))

0 commit comments

Comments
 (0)