• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37762

28 Apr 2024 07:31AM UTC coverage: 86.373% (-1.1%) from 87.431%
#37762

push

local

web-flow
infer_effects: add `optimize::Bool` optional argument (#54241)

`optimize=false` would be useful for testing effects refinements with
post-optimization analysis.

1 of 1 new or added line in 1 file covered. (100.0%)

947 existing lines in 40 files now uncovered.

75087 of 86933 relevant lines covered (86.37%)

14939860.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/stdlib/Markdown/src/IPython/IPython.jl
1
# This file is a part of Julia. License is MIT: https://julialang.org/license
2

3
mutable struct LaTeX
4
    formula::String
407✔
5
end
6

7
@trigger '$' ->
×
8
function tex(stream::IO, md::MD)
9
    result = parse_inline_wrapper(stream, "\$", rep = true)
23,326✔
10
    return result === nothing ? nothing : LaTeX(result)
23,327✔
11
end
12

13
function blocktex(stream::IO, md::MD)
23,326✔
14
    withstream(stream) do
23,326✔
15
        ex = tex(stream, md)
23,327✔
16
        if ex ≡ nothing
23,326✔
17
            return false
23,325✔
18
        else
19
            push!(md, ex)
1✔
20
            return true
1✔
21
        end
22
    end
23
end
24

UNCOV
25
show(io::IO, tex::LaTeX) =
×
26
    print(io, '$', tex.formula, '$')
27

UNCOV
28
latex(io::IO, tex::LaTeX) =
×
29
    println(io, "\$\$", tex.formula, "\$\$")
30

UNCOV
31
latexinline(io::IO, tex::LaTeX) =
×
32
    print(io, '$', tex.formula, '$')
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc