diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-08 11:55:47 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-12-22 15:58:53 +0100 |
commit | 86d59212feef057dd2b36e99c22e6903b09993fd (patch) | |
tree | 3ca4204e8f9a778b1d9408579805fb7e9d970820 /tests/unit/script/textinput.rs | |
parent | b843be49752c68926521a8b5f6b0405b1ff01e9b (diff) | |
download | servo-86d59212feef057dd2b36e99c22e6903b09993fd.tar.gz servo-86d59212feef057dd2b36e99c22e6903b09993fd.zip |
Introduce a script::test module to expose the APIs needed for unit tests.
Diffstat (limited to 'tests/unit/script/textinput.rs')
-rw-r--r-- | tests/unit/script/textinput.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/script/textinput.rs b/tests/unit/script/textinput.rs index 677132d393c..01e28433ed6 100644 --- a/tests/unit/script/textinput.rs +++ b/tests/unit/script/textinput.rs @@ -13,7 +13,7 @@ use msg::constellation_msg::CONTROL; #[cfg(target_os = "macos")] use msg::constellation_msg::SUPER; use script::clipboard_provider::DummyClipboardContext; -use script::dom::bindings::str::DOMString; +use script::test::DOMString; use script::textinput::{TextInput, TextPoint, Selection, Lines, Direction, SelectionDirection}; fn text_input(lines: Lines, s: &str) -> TextInput<DummyClipboardContext> { |