milestone 24: persist and surface the unsupported-line count
This commit is contained in:
@@ -1102,6 +1102,7 @@ fn seedSourceStats(database: *db.Db, id: i64) !void {
|
||||
.wildcard_count = 21,
|
||||
.exception_count = 9,
|
||||
.skipped_regex_count = 7,
|
||||
.skipped_unsupported_count = 33,
|
||||
.checksum = "a" ** 64,
|
||||
});
|
||||
}
|
||||
@@ -1171,6 +1172,8 @@ test "a source keeps its id, its checksum and its counters across a reconcile" {
|
||||
try testing.expectEqual(@as(?i64, 1_700_000_000), row.last_updated);
|
||||
try testing.expectEqual(@as(i64, 4321), row.domain_count);
|
||||
try testing.expectEqual(@as(i64, 9), row.exception_count);
|
||||
try testing.expectEqual(@as(i64, 7), row.skipped_regex_count);
|
||||
try testing.expectEqual(@as(i64, 33), row.skipped_unsupported_count);
|
||||
try testing.expectEqualStrings("a" ** 64, row.checksum.?);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user