mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
Remove emoji from welcome script so it looks better on windows (#9031)
This commit is contained in:
parent
eaabef30d0
commit
cb658f5ce5
4 changed files with 4 additions and 5 deletions
|
@ -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]
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
console.log("Welcome to Deno 🦕");
|
||||
console.log("Welcome to Deno!");
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue