Skip to content

Commit 654c018

Browse files
committed
Fixed test
1 parent c4fc480 commit 654c018

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/bindings/tmc-langs-node/jest/tmc.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,8 @@ test("gets exercise packaging configuration", async () => {
174174

175175
const dir = await mockExercise();
176176
const config = tmc.getExercisePackagingConfiguration(dir);
177-
expect(config.student_file_paths[0]).toEqual("src");
178-
expect(config.exercise_file_paths).toContain("test");
179-
expect(config.exercise_file_paths).toContain("tmc");
177+
expect(config.student_file_paths).toContain("src/main.py");
178+
expect(config.exercise_file_paths).toContain("test/test.py");
180179
});
181180

182181
test("lists local course exercises", async () => {

crates/tmc-langs-cli/src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use tmc_langs::{
1515

1616
#[derive(Parser)]
1717
#[clap(
18+
name = env!("CARGO_PKG_NAME"),
1819
version,
1920
author,
2021
about,

0 commit comments

Comments
 (0)