Skip to content

Commit

Permalink
test(runtime-core) Remove a warning in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 6, 2019
1 parent 5ccaf12 commit 6f84a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/runtime-core-tests/tests/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const SHIFT: i32 = 10;
/// The shift that is captured in the environment of a closure. The
/// value is part of the result returned by the imported function if
/// the closure captures its environment properly.
#[allow(non_upper_case_globals)]
const shift: i32 = 100;

fn imported_functions_forms(test: &dyn Fn(&Instance)) {
Expand Down

0 comments on commit 6f84a6f

Please sign in to comment.