Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index 41953ecee96db15980da18dc1804dd51070268e1..510e1eb5d7084bf8ca26fedca1ed149fdbcc469d 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -1194,7 +1194,7 @@ VM_UNIT_TEST_CASE(FullSnapshot) { |
// Write snapshot with object content. |
{ |
FullSnapshotWriter writer( |
- Snapshot::kCore, NULL, &isolate_snapshot_data_buffer, |
+ Snapshot::kFull, NULL, &isolate_snapshot_data_buffer, |
&malloc_allocator, NULL, NULL /* image_writer */); |
writer.WriteFullSnapshot(); |
} |
@@ -1251,7 +1251,7 @@ VM_UNIT_TEST_CASE(FullSnapshot1) { |
// Write snapshot with object content. |
{ |
FullSnapshotWriter writer( |
- Snapshot::kCore, NULL, &isolate_snapshot_data_buffer, |
+ Snapshot::kFull, NULL, &isolate_snapshot_data_buffer, |
&malloc_allocator, NULL, NULL /* image_writer */); |
writer.WriteFullSnapshot(); |
} |
@@ -1675,7 +1675,7 @@ VM_UNIT_TEST_CASE(MismatchedSnapshotKinds) { |
EXPECT(error != NULL); |
EXPECT_SUBSTRING( |
"Incompatible snapshot kinds:" |
- " vm 'core', isolate 'script'", |
+ " vm 'full', isolate 'script'", |
error); |
free(error); |
} |