// Copyright 2016 Urban Hafner // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. #[macro_use] extern crate hamcrest; mod anything { use hamcrest::prelude::*; #[test] fn usize_is_anything() { assert_that!(123, is(anything())); } #[test] fn str_is_anything() { assert_that!("test", is(anything())); } }