aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-03-29 08:16:04 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-03-29 08:41:12 -0700
commit33b9aa49dbb9323009dc87de45ac378cd8036061 (patch)
tree01e250ccd2f1b5fec494dd794b1d6be02cfa1337
parentf0f0265139f6ae5b82b2600d961524d2d6cc3f62 (diff)
downloadservo-33b9aa49dbb9323009dc87de45ac378cd8036061.tar.gz
servo-33b9aa49dbb9323009dc87de45ac378cd8036061.zip
Update path in script_tests::size_of error messages
-rw-r--r--tests/unit/script/size_of.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/script/size_of.rs b/tests/unit/script/size_of.rs
index 1550ca558d1..fc9cf6f09bf 100644
--- a/tests/unit/script/size_of.rs
+++ b/tests/unit/script/size_of.rs
@@ -23,14 +23,14 @@ macro_rules! sizeof_checker (
let old = $known_size;
if new < old {
panic!("Your changes have decreased the stack size of commonly used DOM struct {} from {} to {}. \
- Good work! Please update the size in script/tests.rs",
+ Good work! Please update the size in tests/unit/script/size_of.rs.",
stringify!($t), old, new)
} else if new > old {
panic!("Your changes have increased the stack size of commonly used DOM struct {} from {} to {}. \
These structs are present in large quantities in the DOM, and increasing the size \
may dramatically affect our memory footprint. Please consider choosing a design which \
avoids this increase. If you feel that the increase is necessary, \
- update to the new size in script/tests.rs.",
+ update to the new size in tests/unit/script/size_of.rs.",
stringify!($t), old, new)
}
});