Skip to content

Commit 01da557

Browse files
committed
Fix goofs for %a tests
1 parent 079bd5c commit 01da557

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/service/EditorTests.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ let _ = sprintf " %.*f" 3 4.5
397397
let _ = sprintf " %*.1f" 3 4.5
398398
let _ = sprintf " %6.*f" 3 4.5
399399
let _ = sprintf " %6.*%" 3
400-
let _ = sprintf " %a" (fun _ _ -> ()) 2
401-
let _ = sprintf " %*a" 3 (fun _ _ -> ()) 2
400+
let _ = printf " %a" (fun _ _ -> ()) 2
401+
let _ = printf " %*a" 3 (fun _ _ -> ()) 2
402402
"""
403403

404404
let file = "/home/user/Test.fsx"
@@ -435,7 +435,7 @@ let _ = sprintf " %*a" 3 (fun _ _ -> ()) 2
435435
(30, 25, 30, 29, 2);
436436
(31, 26, 31, 30, 2);
437437
(32, 27, 32, 31, 1);
438-
(33, 28, 33, 39, 2)
438+
(33, 28, 33, 29, 2);
439439
(34, 29, 34, 31, 3)|]
440440

441441
[<Test>]

0 commit comments

Comments
 (0)