]> git.proxmox.com Git - rustc.git/blob - src/doc/book/listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/tests/integration_test.rs
New upstream version 1.43.0+dfsg1
[rustc.git] / src / doc / book / listings / ch11-writing-automated-tests / no-listing-13-fix-shared-test-code-problem / tests / integration_test.rs
1 use adder;
2
3 mod common;
4
5 #[test]
6 fn it_adds_two() {
7 common::setup();
8 assert_eq!(4, adder::add_two(2));
9 }