From 9750a21faac96ed559a88238ffb99fb634480066 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 6 Jan 2021 16:40:47 +0100 Subject: [PATCH] Fix "manfiest" typos (#2316) --- src/manifest.jl | 2 +- test/new.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/manifest.jl b/src/manifest.jl index 44a8f8addb..604a7b5bdb 100644 --- a/src/manifest.jl +++ b/src/manifest.jl @@ -96,7 +96,7 @@ function normalize_deps(name, uuid, deps::Vector{String}, manifest::Dict{String, "but no such entry exists in the manifest.") end # should have used dict format instead of vector format - length(infos) == 1 || pkgerror("Invalid manfiest format. ", + length(infos) == 1 || pkgerror("Invalid manifest format. ", "`$name=$uuid`'s dependency on `$dep` is ambiguous.") final[dep] = infos[1].uuid end diff --git a/test/new.jl b/test/new.jl index 864037ae37..24a2008c42 100644 --- a/test/new.jl +++ b/test/new.jl @@ -1257,7 +1257,7 @@ end @test haskey(Pkg.project().dependencies, "Example") @test haskey(Pkg.project().dependencies, "Unicode") end end - # `instantiate` lonely manfiest + # `instantiate` lonely manifest isolate(loaded_depot=true) do manifest_dir = joinpath(@__DIR__, "manifest", "noproject") cd(manifest_dir) do @@ -1944,7 +1944,7 @@ end # Manifest Status API isolate(loaded_depot=true) do io = PipeBuffer() - ## empty manfiest + ## empty manifest Pkg.status(;io=io, mode=Pkg.PKGMODE_MANIFEST) @test occursin(r"Status `.+Manifest\.toml` \(empty manifest\)", readline(io)) # loaded manifest