0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-10 14:17:49 -04:00
deno/tests/testdata/inspector/inspector_test.js
David Sherret 1dffb7017c chore: enable clippy::print_stdout and clippy::print_stderr (#23732)
1. Generally we should prefer to use the `log` crate.
2. I very often accidentally commit `eprintln`s.

When we should use `println` or `eprintln`, it's not too bad to be a bit
more verbose and ignore the lint rule.
2024-05-10 15:00:08 -04:00

6 lines
115 B
JavaScript

Deno.test("basic test", () => {
const value = 1 + 1;
if (value !== 2) {
throw new Error("failed");
}
});