Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/mcp/server_skills_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def initialize_capabilities(server)
got = server.handle(request("skills/get", { uri: "skill://git/SKILL.md" }))[:result]
assert_equal annotated.to_h, got[:skill]
assert_equal({ "com.example/origin" => "catalog" }, got[:skill][:_meta])
assert_equal '"_meta":{"com.example/origin":"catalog"}', JSON.generate(got[:skill])[/"_meta":\{[^}]*\}/]
# Read back through JSON, so the key the wire carries is checked, not the Symbol the Hash holds.
assert_equal({ "com.example/origin" => "catalog" }, JSON.parse(JSON.generate(got[:skill]))["_meta"])
end
end

Expand Down
Loading