about summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-19 18:30:14 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-19 19:08:32 -0700
commitb056e98a277ad19bee8ee562e9685e6dc58fb93b (patch)
tree7a39d95a94b8a6b72114b195b0f60b2878464429 /src/rustdoc
parentacc3ec7d6cbfe87382828820da3705adceeea2ae (diff)
rustdoc: Fix spelling in tests
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/attr_parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rustdoc/attr_parser.rs b/src/rustdoc/attr_parser.rs
index f72c41df6da..438d4869737 100644
--- a/src/rustdoc/attr_parser.rs
+++ b/src/rustdoc/attr_parser.rs
@@ -132,14 +132,14 @@ fn parse_hidden(attrs: ~[ast::attribute]) -> bool {
 }
 
 #[test]
-fn shoulde_parse_hidden_attribute() {
+fn should_parse_hidden_attribute() {
     let source = ~"#[doc(hidden)]";
     let attrs = test::parse_attributes(source);
     assert parse_hidden(attrs) == true;
 }
 
 #[test]
-fn shoulde_not_parse_non_hidden_attribute() {
+fn should_not_parse_non_hidden_attribute() {
     let source = ~"#[doc = \"\"]";
     let attrs = test::parse_attributes(source);
     assert parse_hidden(attrs) == false;