Skip to content

Commit 0219b0c

Browse files
committed
fixed snapshot regression
1 parent 866dfef commit 0219b0c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/gitui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ mod tests {
226226
// Linux Temp Folder
227227
settings.add_filter(r" */tmp/\.tmp\S+-insta/", "[TEMP_FILE]");
228228
// Commit ids that follow a vertical bar
229-
settings.add_filter(r"│[a-z0-9]{7} ", "│[AAAAA] ");
229+
settings.add_filter(r"│[^a-f0-9]*[a-f0-9]{7} ", "│[AAAAA] ");
230230
let _bound = settings.bind_to_scope();
231231
}
232232
}

src/snapshots/gitui__gitui__tests__app_log_tab_showing_one_commit.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ snapshot_kind: text
66
" Status [1] | Log [2] | Files [3] | Stashing [4] | Stashes [5][TEMP_FILE] "
77
" ──────────────────────────────────────────────────────────────────────────────────────── "
88
"┌Commit 1/1──────────────────────────────────────────────────────────────────────────────┐"
9-
"│[AAAAA] <1m ago name initial "
9+
"│[AAAAA] <1m ago name initial █"
1010
"│ ║"
1111
"│ ║"
1212
"│ ║"
1313
"│ ║"
1414
"│ ║"
1515
"│ ║"
1616
"└────────────────────────────────────────────────────────────────────────────────────────┘"
17-
"Scroll [↑↓] Mark [˽] Details [⏎] Branches [b] Compare [⇧C] Copy Hash [y] Tag [t] more [.]"
17+
"Scroll [↑↓] Mark [˽] Toggle Graph [g] Details [⏎] Branches [b] Compare [⇧C] more [.]"

0 commit comments

Comments
 (0)