From a57cb89b3546845e9db2fcd45e4a8f16ade09b31 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 1 Apr 2026 23:14:45 +0900 Subject: minor update --- spec/dispatch/tools/definition_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/dispatch/tools/definition_spec.rb') diff --git a/spec/dispatch/tools/definition_spec.rb b/spec/dispatch/tools/definition_spec.rb index c9640e2..ada2012 100644 --- a/spec/dispatch/tools/definition_spec.rb +++ b/spec/dispatch/tools/definition_spec.rb @@ -9,7 +9,7 @@ RSpec.describe Dispatch::Tools::Definition do start_line: { type: "integer", description: "Start line (0-based)" }, end_line: { type: "integer", description: "End line (0-based, -1 for EOF)" } }, - required: ["path"] + required: [ "path" ] } end @@ -171,10 +171,10 @@ RSpec.describe Dispatch::Tools::Definition do hash = tool.to_h expect(hash).to eq({ - name: "read_file", - description: "Read the contents of a file", - parameters: parameters_schema - }) + name: "read_file", + description: "Read the contents of a file", + parameters: parameters_schema + }) end it "returns a plain hash, not a struct" do -- cgit v1.2.3