Skip to content

desktop/src-tauri/crates/core/tests/jsonl_v07.rs

Comment 1, line 1

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:1

//! V07 JSONL boundaries: partial lines, cross-chunk UTF-8, long lines, BOM, bad rows,

Comment 2, line 2

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:2

//! rotation/truncation/same-length replacement/renaming; cases match the acceptance table.

Comment 3, line 38

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:38

// Complete the partial line and continue from the same cursor.

Comment 4, line 57

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:57

// Small chunks split a multibyte UTF-8 character deliberately.

Comment 5, line 96

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:96

// Raising the limit allows a controlled retry from the same cursor to finish.

Comment 6, line 117

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:117

// Continuation after the first line does not process BOM again.

Comment 7, line 136

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:136

// Diagnostics contain only code/location; BadLine itself contains no body.

Comment 8, line 183

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:183

// Append-only changes select Continue.

Comment 9, line 190

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:190

// Truncation below the cursor selects Rescan.

Comment 10, line 213

desktop/src-tauri/crates/core/tests/jsonl_v07.rs:213

// Same-length replacement: different content, unchanged length.