/*
 * Use of this source code is governed by the MIT license that can be
 * found in the LICENSE file.
 */

package org.rust.ide.inspections

class RsSimplifyBooleanExpressionInspectionTest : RsInspectionsTestBase(RsSimplifyBooleanExpressionInspection::class) {
    fun `test subexpression`() = checkByText("""
            fn main() {
                let _ = <warning><warning>true && foo</warning> && bar</warning>;
            }
        """)
}
