Skip to content

Commit 734dc9f

Browse files
committed
Fix tests
1 parent 58028a9 commit 734dc9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/src/cli/task_service_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void main() {
5656

5757
expect(
5858
tasks.getTask(ScriptName.producer, TaskName.install).toString(),
59-
"Instance of Task: ScriptName.producer | TaskName.install | DependsOn: [Instance of Task: ScriptName.producer | TaskName.init | DependsOn: []]",
59+
"Instance of Task: ScriptName.producer | TaskName.install | DependsOn: []",
6060
);
6161

6262
});
@@ -121,8 +121,8 @@ void main() {
121121
test("Verify tasksOrEmptyList returns normalized list of requested Task and all dependents", () {
122122

123123
const command = Command(
124-
scriptName: ScriptName.producer,
125-
taskName: TaskName.install,
124+
scriptName: ScriptName.consumer,
125+
taskName: TaskName.add,
126126
option: "platform",
127127
);
128128

@@ -135,7 +135,7 @@ void main() {
135135
expect(tasks.first.taskName, TaskName.init);
136136

137137
// Install should be the final task.
138-
expect(tasks.last.taskName, TaskName.install);
138+
expect(tasks.last.taskName, TaskName.add);
139139

140140
});
141141

0 commit comments

Comments
 (0)