diff options
| author | Adam Malczewski <[email protected]> | 2026-04-01 23:14:45 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-04-01 23:14:45 +0900 |
| commit | a57cb89b3546845e9db2fcd45e4a8f16ade09b31 (patch) | |
| tree | be3b186e8474f8cf79c464fe0fb35eca40614a64 /spec/dispatch/tools/definition_spec.rb | |
| parent | cc97aeb35f8e0f61a13ee28b94355afa7c884281 (diff) | |
| download | dispatch-tools-interface-dev.tar.gz dispatch-tools-interface-dev.zip | |
minor updatedev
Diffstat (limited to 'spec/dispatch/tools/definition_spec.rb')
| -rw-r--r-- | spec/dispatch/tools/definition_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
