Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
buijs-dev committed Jun 29, 2022
1 parent 58028a9 commit 734dc9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/src/cli/task_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void main() {

expect(
tasks.getTask(ScriptName.producer, TaskName.install).toString(),
"Instance of Task: ScriptName.producer | TaskName.install | DependsOn: [Instance of Task: ScriptName.producer | TaskName.init | DependsOn: []]",
"Instance of Task: ScriptName.producer | TaskName.install | DependsOn: []",
);

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

const command = Command(
scriptName: ScriptName.producer,
taskName: TaskName.install,
scriptName: ScriptName.consumer,
taskName: TaskName.add,
option: "platform",
);

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

// Install should be the final task.
expect(tasks.last.taskName, TaskName.install);
expect(tasks.last.taskName, TaskName.add);

});

Expand Down

0 comments on commit 734dc9f

Please sign in to comment.