mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Unit test for util::str::split_html_space_chars
I was concerned for a little bit that passing just whitespace to the split_html_space_chars function would result in len > 0, so I wrote this small unit test to make sure it does the right thing. Even though it does do the right thing, I think there's still value in committing the unit test.
This commit is contained in:
parent
2e1c9785dc
commit
3cfd4d14e2
2 changed files with 13 additions and 0 deletions
|
@ -13,3 +13,4 @@ extern crate euclid;
|
|||
#[cfg(test)] mod task;
|
||||
#[cfg(test)] mod vec;
|
||||
#[cfg(test)] mod mem;
|
||||
#[cfg(test)] mod str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue