summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-01-07 05:51:15 -0500
committerGitHub <noreply@github.com>2021-01-07 05:51:15 -0500
commitcb658f5ce588dfac4826a5ce4d343738759c0c84 (patch)
tree78e7c6f3c738e8641db49bc15ed8e3e82ba58de7
parenteaabef30d08b47c9a90c12ec736c7d53f42a1208 (diff)
Remove emoji from welcome script so it looks better on windows (#9031)
-rw-r--r--cli/tests/integration_tests.rs2
-rw-r--r--docs/getting_started/first_steps.md2
-rw-r--r--std/examples/welcome.ts3
-rw-r--r--std/examples/welcome_test.ts2
4 files changed, 4 insertions, 5 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index b42315e1a..31d634274 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -4740,7 +4740,7 @@ fn compile() {
.wait_with_output()
.unwrap();
assert!(output.status.success());
- assert_eq!(output.stdout, "Welcome to Deno 🦕\n".as_bytes());
+ assert_eq!(output.stdout, "Welcome to Deno!\n".as_bytes());
}
#[test]
diff --git a/docs/getting_started/first_steps.md b/docs/getting_started/first_steps.md
index 7bb51bb15..aec7dded3 100644
--- a/docs/getting_started/first_steps.md
+++ b/docs/getting_started/first_steps.md
@@ -17,7 +17,7 @@ Browser compatibility means a `Hello World` program in Deno is the same as the
one you can run in the browser:
```ts
-console.log("Welcome to Deno 🦕");
+console.log("Welcome to Deno!");
```
Try the program:
diff --git a/std/examples/welcome.ts b/std/examples/welcome.ts
index ea72144ef..f983ca89b 100644
--- a/std/examples/welcome.ts
+++ b/std/examples/welcome.ts
@@ -1,2 +1 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-console.log("Welcome to Deno 🦕");
+console.log("Welcome to Deno!");
diff --git a/std/examples/welcome_test.ts b/std/examples/welcome_test.ts
index 43da0e87b..c9cc2e94f 100644
--- a/std/examples/welcome_test.ts
+++ b/std/examples/welcome_test.ts
@@ -14,7 +14,7 @@ Deno.test("[examples/welcome] print a welcome message", async () => {
try {
const output = await process.output();
const actual = decoder.decode(output).trim();
- const expected = "Welcome to Deno 🦕";
+ const expected = "Welcome to Deno!";
assertStrictEquals(actual, expected);
} finally {
process.close();