Skip to content

Commit

Permalink
Merge pull request #71 from itsdfish/auto-juliaformatter-pr
Browse files Browse the repository at this point in the history
Automatic JuliaFormatter.jl run
  • Loading branch information
itsdfish authored Oct 19, 2024
2 parents 5a7a4eb + 21522a3 commit 598b57c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/Memory_Tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ using SafeTestsets
@test match(chunk, a = :a)
@test !match(chunk, a = :b)
@test !match(chunk, d = :b)
@test match(chunk,!=,==,a = :b,b = :b)
@test !match(chunk,!=,==,a = :a,b = :b)
@test match(chunk, !=, ==, a = :b, b = :b)
@test !match(chunk, !=, ==, a = :a, b = :b)

@test match(chunk, a = :a; check_value = false)
@test match(chunk, a = :b; check_value = false)
Expand Down
4 changes: 2 additions & 2 deletions test/Utility Tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using SafeTestsets
@test chunks[idx].slots.object == :bird
@test chunks[idx].slots.value == :True

idx = find_index(actr,==,!=; attribute = :locomotion, value = :swimming)
idx = find_index(actr, ==, !=; attribute = :locomotion, value = :swimming)
@test chunks[idx].slots.value == :flying
@test chunks[idx].slots.object == :bird
@test chunks[idx].slots.attribute == :locomotion
Expand All @@ -30,7 +30,7 @@ using SafeTestsets
chunk_set
)

idx = find_indices(actr,==,!=; attribute = :category, value = :bird)
idx = find_indices(actr, ==, !=; attribute = :category, value = :bird)
@test length(idx) == 4
chunk_set = chunks[idx]
@test all(x -> x.slots.attribute == :category && x.slots.value != :bird, chunk_set)
Expand Down
4 changes: 2 additions & 2 deletions test/Utility_Tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using SafeTestsets
@test chunks[idx].slots.object == :bird
@test chunks[idx].slots.value == :True

idx = find_index(actr,==,!=; attribute = :locomotion, value = :swimming)
idx = find_index(actr, ==, !=; attribute = :locomotion, value = :swimming)
@test chunks[idx].slots.value == :flying
@test chunks[idx].slots.object == :bird
@test chunks[idx].slots.attribute == :locomotion
Expand All @@ -34,7 +34,7 @@ using SafeTestsets
chunk_set
)

idx = find_indices(actr,==,!=; attribute = :category, value = :bird)
idx = find_indices(actr, ==, !=; attribute = :category, value = :bird)
@test length(idx) == 4
chunk_set = chunks[idx]
@test all(x -> x.slots.attribute == :category && x.slots.value != :bird, chunk_set)
Expand Down

0 comments on commit 598b57c

Please sign in to comment.