mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
macro_use must be in crate root
This commit is contained in:
parent
6dc5aa2901
commit
9f73c576f3
1 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
#[macro_use]
|
||||||
|
extern crate pretty_assertions;
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
|
extern crate indoc;
|
||||||
|
|
||||||
extern crate bumpalo;
|
extern crate bumpalo;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
|
@ -6,12 +12,6 @@ mod helpers;
|
||||||
|
|
||||||
#[cfg(all(test, target_os = "linux", any(target_arch = "x86_64"/*, target_arch = "aarch64"*/)))]
|
#[cfg(all(test, target_os = "linux", any(target_arch = "x86_64"/*, target_arch = "aarch64"*/)))]
|
||||||
mod gen_num {
|
mod gen_num {
|
||||||
#[macro_use]
|
|
||||||
extern crate pretty_assertions;
|
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate indoc;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn i64_values() {
|
fn i64_values() {
|
||||||
assert_evals_to!("0", 0, i64);
|
assert_evals_to!("0", 0, i64);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue