Commit 388963dc authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Avoid reserved word "long" in test code snippet.

Causes problems with RKelly which chokes when it sees a reserved
word like that inside a property chain.
parent d183f39c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ describe JsDuck::Aggregator do

  describe "function-literal in prototype-chain" do
    before do
      @doc = parse_method("/** Some function */ Some.long.prototype.foo = function() {}")
      @doc = parse_method("/** Some function */ Some.verylong.prototype.foo = function() {}")
    end
    it_should_behave_like "method"
  end