libmir / mir-algorithm
Showing 1 of 1 files from the diff.

@@ -60,7 +60,7 @@
Loading
60 60
}
61 61
62 62
/// Concatenated string results
63 -
string text(string separator = "", Args...)(auto ref const(Args) args)
63 +
string text(string separator = "", Args...)(auto ref Args args)
64 64
    if (Args.length > 0)
65 65
{
66 66
    static if (Args.length == 1)
@@ -88,7 +88,8 @@
Loading
88 88
///
89 89
@safe pure nothrow unittest
90 90
{
91 -
    assert(text("str ", true, " ", 100, " ", 124.1) == "str true 100 124.1", text("str ", true, " ", 100, " ", 124.1));
91 +
    const i = 100;
92 +
    assert(text("str ", true, " ", i, " ", 124.1) == "str true 100 124.1", text("str ", true, " ", 100, " ", 124.1));
92 93
    assert(text!" "("str", true, 100, 124.1) == "str true 100 124.1");
93 94
}
94 95
Files Coverage
source/mir 92.66%
Project Totals (62 files) 92.66%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading