Add the detection of ChangeKind::Sass to tests
This commit is contained in:
parent
64ea51b388
commit
78a3602454
|
@ -296,6 +296,10 @@ mod tests {
|
||||||
(ChangeKind::Content, "/content/posts/hello.md".to_string()),
|
(ChangeKind::Content, "/content/posts/hello.md".to_string()),
|
||||||
"/home/vincent/site", Path::new("/home/vincent/site/content/posts/hello.md")
|
"/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 {
|
for (expected, pwd, path) in test_cases {
|
||||||
|
|
Loading…
Reference in a new issue