Skip to content

Commit

Permalink
Enable extra Ameba rule and fix usages (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 authored May 3, 2022
1 parent 5ab78ec commit 3440d6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/visitors/json_deserialization_visitor_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe ASR::Visitors::JSONDeserializationVisitor do
it Int64 do
assert_deserialized_output ASR::Visitors::JSONDeserializationVisitor, Int64, "17", 17_i64
assert_deserialized_output ASR::Visitors::JSONDeserializationVisitor, Int64?, "17", 17_i64
assert_deserialized_output ASR::Visitors::JSONDeserializationVisitor, Int64?, "1033488268764", 1033488268764
assert_deserialized_output ASR::Visitors::JSONDeserializationVisitor, Int64?, "1033488268764", 1_033_488_268_764
end

it Float32 do
Expand Down
2 changes: 1 addition & 1 deletion spec/visitors/yaml_deserialization_visitor_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe ASR::Visitors::YAMLDeserializationVisitor do
it Int64 do
assert_deserialized_output ASR::Visitors::YAMLDeserializationVisitor, Int64, "17", 17_i64
assert_deserialized_output ASR::Visitors::YAMLDeserializationVisitor, Int64?, "17", 17_i64
assert_deserialized_output ASR::Visitors::YAMLDeserializationVisitor, Int64?, "1033488268764", 1033488268764
assert_deserialized_output ASR::Visitors::YAMLDeserializationVisitor, Int64?, "1033488268764", 1_033_488_268_764
end

it Float32 do
Expand Down

0 comments on commit 3440d6c

Please sign in to comment.