Skip to content

Commit 8ba3bf0

Browse files
disconcisionclaude
andcommitted
Port fix/pin-undo's test to Core
Reason's != is int-only under Core; the test doesn't open Poly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 60c1ca9 commit 8ba3bf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/Test_Undo.re‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ let focus_of = (model: History.Model.t): Language.Sample.Focus.t =>
7373
Page.Update.get_editor(model.current).editor.state.zipper.refractors.
7474
sample_focus;
7575
let pinned = (model: History.Model.t) =>
76-
focus_of(model).pinned_stack != None;
76+
Option.is_some(focus_of(model).pinned_stack);
7777

7878
let tests = (
7979
"Undo",

0 commit comments

Comments
 (0)