Test definition with doc

This commit is contained in:
Colin Benner 2018-10-06 07:56:49 +02:00
parent 67e98857de
commit a3e061f0ca

View file

@ -534,3 +534,12 @@ fn test_conversion_to_list() {
Suggestions: divide left side by linear_density, multiply right side by linear_density", Suggestions: divide left side by linear_density, multiply right side by linear_density",
); );
} }
#[test]
fn test_definition_with_doc() {
test(
"mass",
"Definition: kilogram = base unit of mass. Equal to the mass of the \
international prototype of the kilogram. 3rd CGPM (1901, CR, 70).",
);
}