Skip to content

Commit

Permalink
update version 🍓
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Apr 25, 2020
1 parent 2f7d737 commit ce78aaa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lapis/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.7.0"
return "1.8.0"
2 changes: 1 addition & 1 deletion lapis/version.moon
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"1.7.0"
"1.8.0"
4 changes: 3 additions & 1 deletion spec_cqueues/server_spec.moon
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import runner from require "lapis.cmd.cqueues"
import SpecServer from require "lapis.spec.server"
server = SpecServer runner

version = require "lapis.version"

describe "server", ->
setup ->
server\load_test_server {
Expand All @@ -16,7 +18,7 @@ describe "server", ->
it "should request basic page", ->
status, res, headers = server\request "/"
assert.same 200, status
assert.same [[<!DOCTYPE HTML><html lang="en"><head><title>Lapis Page</title></head><body>Welcome to Lapis 1.7.0</body></html>]], res
assert.same [[<!DOCTYPE HTML><html lang="en"><head><title>Lapis Page</title></head><body>Welcome to Lapis ]] .. version .. [[</body></html>]], res

assert.same {
content_type: "text/html"
Expand Down

0 comments on commit ce78aaa

Please sign in to comment.