Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Heptazhou committed Apr 6, 2024
1 parent fba2f66 commit 3f09f5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ version = "1.10.0"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["OrderedCollections", "Test"]
test = ["Documenter", "OrderedCollections", "Test"]
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

using Documenter: DocMeta, doctest
using OrderedCollections: LittleDict, OrderedDict
using Random: Random
using Test, UUID4

DocMeta.setdocmeta!(UUID4, :DocTestSetup, quote
#! format: noindent
using OrderedCollections: OrderedDict
using UUID4
end)
doctest(UUID4, fix = true, manual = false)

u4 = uuid4()
@test 4 == uuid_version(u4)
@test 4 == uuid_version(u4 |> string)
Expand Down

0 comments on commit 3f09f5f

Please sign in to comment.