Skip to content

Commit 0c8fe7f

Browse files
pfaffeDevtools-frontend LUCI CQ
authored andcommitted
Fix an error message
Bug: none Change-Id: Ia62aac731e4c33e7a424eda451edb81151faba52 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6054334 Auto-Submit: Philip Pfaffe <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Commit-Queue: Philip Pfaffe <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent 22fb69e commit 0c8fe7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/shared/snapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const saveSnapshotsIfTaken = () => {
6262
const restoreSnapshots = () => {
6363
if (!currentSnapshotPath || !existsSync(currentSnapshotPath)) {
6464
throw new Error(`Could not find snapshot for ${
65-
currentSnapshotPath}. You can update the snapshots by running the tests with --diff=update.`);
65+
currentSnapshotPath}. You can update the snapshots by running the tests with --on-diff=update.`);
6666
}
6767
currentSnapshot = JSON.parse(readFileSync(currentSnapshotPath, 'utf-8'));
6868
};

0 commit comments

Comments
 (0)