// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 The Gleam contributors use crate::assert_format; // https://github.com/gleam-lang/gleam/issues/2095 #[test] fn comment() { assert_format!( r#"pub fn main() { // Hello let x = 1 x } "# ); } // https://github.com/gleam-lang/gleam/issues/2095 #[test] fn assert_comment() { assert_format!( r#"pub fn main() { // Hello let assert x = 1 x } "# ); }