Get rid of constant from atan2 test and remove now unneeded clippy directives

This commit is contained in:
Will Brindle 2019-09-30 13:28:48 +01:00 committed by Mike Welsh
parent 5a36e4d78e
commit bd5bed0327
1 changed files with 1 additions and 3 deletions

View File

@ -80,8 +80,6 @@ pub fn create<'gc>(gc_context: MutationContext<'gc, '_>) -> GcCell<'gc, Object<'
}
#[cfg(test)]
#[allow(clippy::unreadable_literal)]
#[allow(clippy::approx_constant)]
mod tests {
use super::*;
use crate::avm1::Error;
@ -270,7 +268,7 @@ mod tests {
*math.read(),
&[Value::Number(1.0), Value::Number(2.0)]
),
Value::Number(0.4636476090008061)
Value::Number(f64::atan2(1.0, 2.0))
);
});
}