Skip to content

Commit

Permalink
test on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Apr 16, 2018
1 parent e2a8226 commit 0caf134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: julia
os:
- linux
- osx
julia:
- 0.6
- nightly
Expand Down
6 changes: 3 additions & 3 deletions test/ghtype_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function test_show(g::GitHub.GitHubType)
@test repr(g) == String(take!(tmpio))

tmpio = IOBuffer()
showcompact(tmpio, g)
show(IOContext(tmpio, :compact => true), g)

@test "$(typeof(g))($(repr(name(g))))" == String(take!(tmpio))
end
Expand Down Expand Up @@ -540,7 +540,7 @@ end

test_show(hook_result)
end

@testset "Gist" begin
gist_json = JSON.parse("""
{
Expand Down Expand Up @@ -734,7 +734,7 @@ end
"updated_at": "2017-07-08T16:18:44"
}
""")

app_result = App(app_json)
@test name(app_result) == Int(app_json["id"])
end
Expand Down

0 comments on commit 0caf134

Please sign in to comment.