#997·guard

使用 ruby3.4.0dev 进行 rspec 测试套件失败

作者: mtasaka创建于 2024年12月10日更新于 2024年12月10日

6) Guard::Plugin#hook 通知钩子失败/错误: self.class.notify(self, hook_name.to_sym, *args) #<Guard::Plugin (class)> 从未收到 :notify 通知, 但收到了 :run_all_begin 通知 #<Guard::Plugin (class)> 从未收到 :notify 通知, 但收到了 :_begin 通知 #./lib/guard/plugin.rb:127:in 'Guard::Plugin#hook' #./spec/lib/guard/plugin_spec.rb:180:in 'Guard::Dummy#run_all' #./spec/lib/guard/plugin_spec.rb:189:in 'block (3 levels) in <top (required)>' 7) Guard::Plugin#hook 接受额外参数失败/错误: self.class.notify(self, hook_name.to_sym, *args) #<Guard::Plugin (class)> 从未收到 :notify 通知, 但收到了 :stop_begin, "args" 通知 #<Guard::Plugin (class)> 从未收到 :notify 通知, 但收到了 :_begin, "args" 通知 #./lib/guard/plugin.rb:127:in 'Guard::Plugin#hook' #./spec/lib/guard/plugin_spec.rb:210:in 'Guard::Dummy#stop' #./spec/lib/guard/plugin_spec.rb:222:in 'block (3 levels) in <top (required)>'