Skip to content

Commit

Permalink
Updated package evaluator badge
Browse files Browse the repository at this point in the history
Also, a test is in place to be activated after fix of
JuliaLang/julia#12705

[ci skip]
  • Loading branch information
mauro3 committed Sep 2, 2015
1 parent 06c1715 commit 53fe1e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Parameters

[![Build Status](https://travis-ci.org/mauro3/Parameters.jl.svg?branch=master)](https://travis-ci.org/mauro3/Parameters.jl)
[![Parameters](http://pkg.julialang.org/badges/Parameters_0.3.svg)](http://pkg.julialang.org/?pkg=Parameters&ver=release)
[![Build Status](https://ci.appveyor.com/api/projects/status/github/mauro3/Parameters.jl?branch=master&svg=true)](https://ci.appveyor.com/project/mauro3/parameters-jl/branch/master)

[![Parameters](http://pkg.julialang.org/badges/Parameters_0.3.svg)](http://pkg.julialang.org/?pkg=Parameters&ver=0.3)
[![Parameters](http://pkg.julialang.org/badges/Parameters_0.4.svg)](http://pkg.julialang.org/?pkg=Parameters&ver=0.4)


This is a package I use to handle numerical-model parameters, thus the
name. However, it should be useful otherwise too. Its main feature
is the macro `@with_kw` which decorates a type definition and creates:
Expand Down
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ using Base.Test
###############

# parameter-less

## Activate after fix of https://github.com/JuliaLang/julia/issues/12705
# "Test documentation"
@with_kw immutable MT1
r::Int = 4
c = "sdaf"
end
MT1()
# if VERSION >= v"0.4.0-dev"
# @test "Test documentation" = @doc MT1
# end


# parameter-less
@with_kw type MT2
Expand Down Expand Up @@ -222,3 +229,4 @@ a = 99
@test uu!=vv
@test uu.a==99
@test vv.a==1

0 comments on commit 53fe1e4

Please sign in to comment.