summaryrefslogtreecommitdiff
path: root/src/exercise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exercise.rs')
-rw-r--r--src/exercise.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index 9cd88a0..0e8a199 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -27,6 +27,7 @@ pub struct Exercise {
pub name: String,
pub path: PathBuf,
pub mode: Mode,
+ pub hint: String,
}
impl Exercise {
@@ -74,6 +75,7 @@ mod test {
name: String::from("example"),
path: PathBuf::from("example.rs"),
mode: Mode::Test,
+ hint: String::from(""),
};
exercise.clean();
assert!(!Path::new(&temp_file()).exists());