Skip to content

Commit

Permalink
Change tab indent to space indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed May 7, 2024
1 parent 8cee31d commit 0f1ead6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/memalloc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function analyze_malloc_files(files; skip_zeros::Bool = false)
if !isempty(tln) && isdigit(tln[1])
s = split(tln)
b = parse(Int, s[1])
skip_zeros && b == 0 && continue
skip_zeros && b == 0 && continue
push!(bc, MallocInfo(b, filename, i))
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end # testset
@test malloc_results == [CoverageTools.MallocInfo(96669, filename, 2)]
# ... and memory data with zeros skipped
no_zeros = CoverageTools.analyze_malloc_files([filename]; skip_zeros = true)
@test length(no_zeros) == 1
@test length(no_zeros) == 1

lcov = IOBuffer()
# we only have a single file, but we want to test on the Vector of file results
Expand Down

0 comments on commit 0f1ead6

Please sign in to comment.