Skip to content

Commit

Permalink
upgrade to 0.40.0
Browse files Browse the repository at this point in the history
Signed-off-by: 迷渡 <justjavac@gmail.com>
  • Loading branch information
justjavac committed Apr 10, 2020
1 parent 049689e commit 44a9de8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
deno: [0.26.0]
deno: [0.40.0]
steps:
- name: clone repo
uses: actions/checkout@v1
Expand All @@ -17,6 +17,6 @@ jobs:
with:
deno-version: ${{ matrix.deno }}
- name: run fmt
run: deno fmt --check .
run: deno fmt --check
- name: run tests
run: deno test --allow-net .
run: deno test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![tag](https://img.shields.io/github/release/denomod/deno-starter)](https://github.com/denomod/deno-starter/releases)
[![Build Status](https://github.com/denomod/deno-starter/workflows/ci/badge.svg?branch=master)](https://github.com/denomod/deno-starter/actions)
[![license](https://img.shields.io/github/license/denomod/deno-starter)](https://github.com/denomod/deno-starter/blob/master/LICENSE)
[![](https://img.shields.io/badge/deno-v0.26.0-green.svg)](https://github.com/denoland/deno)
[![](https://img.shields.io/badge/deno-v0.40.0-green.svg)](https://github.com/denoland/deno)

Quickly start a Deno module.

Expand Down
7 changes: 3 additions & 4 deletions mod_test.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import { test } from "https://deno.land/std/testing/mod.ts";
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";

import starter from "./mod.ts";

test({
Deno.test({
name: "test starter function",
fn(): void {
assertEquals(starter("abc"), "abc");
}
},
});

test(function myTestFunction(): void {
Deno.test(function myTestFunction(): void {
assertEquals(starter("foo bar"), "foo bar");
});

0 comments on commit 44a9de8

Please sign in to comment.