Skip to content

Commit 8ff506b

Browse files
[vm] Fix windows build after 722b839.
Change-Id: Ie6eed25ae159deaf60852d29bca4e35c0084b1ba Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107403 Reviewed-by: Samir Jindel <[email protected]>
1 parent 722b839 commit 8ff506b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/vm/dart_api_impl_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UNIT_TEST_CASE(DartAPI_DartInitializeCallsCodeObserver) {
8282

8383
// Wait for 5 seconds to let the kernel service load the snapshot,
8484
// which should trigger calls to the code observer.
85-
sleep(5);
85+
OS::Sleep(5);
8686

8787
EXPECT(was_called);
8888
EXPECT(Dart_Cleanup() == NULL);

0 commit comments

Comments
 (0)