Skip to content

Commit 5a85541

Browse files
committed
Fixed test to work with features
1 parent 77d2946 commit 5a85541

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plotters/src/element/text.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ fn layout_multiline_text<'a, F: FnMut(&'a str)>(
164164
}
165165
}
166166

167-
#[cfg(test)]
168-
#[cfg(ttf)]
167+
#[cfg(feature = "ttf")]
169168
#[test]
170169
fn test_multi_layout() {
171170
use plotters_backend::{FontFamily, FontStyle};

0 commit comments

Comments
 (0)