0

このテストで「TypeError:nilはシンボルではない」と返されるのはなぜですか?それは本からです。

describe "The string" do 
 it "should have 11 simbols" do
  "this string".should have(11)
 end
end
4

1 に答える 1

3

それは本の間違いです。行は次のようになります。

"this string".should have(11).symbols
于 2012-05-18T22:41:43.520 に答える