From 78a3602454258bfca9b81938f0549e6c9cc2de54 Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Tue, 21 Nov 2017 00:05:37 +0100 Subject: [PATCH] Add the detection of ChangeKind::Sass to tests --- src/cmd/serve.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs index b1fcfbc..16e02b3 100644 --- a/src/cmd/serve.rs +++ b/src/cmd/serve.rs @@ -296,6 +296,10 @@ mod tests { (ChangeKind::Content, "/content/posts/hello.md".to_string()), "/home/vincent/site", Path::new("/home/vincent/site/content/posts/hello.md") ), + ( + (ChangeKind::Sass, "/sass/print.scss".to_string()), + "/home/vincent/site", Path::new("/home/vincent/site/sass/print.scss") + ) ]; for (expected, pwd, path) in test_cases {