Skip to content
  • Schneems's avatar
    c175e265
    [ruby/syntax_suggest] Remove duplicate error messages · c175e265
    Schneems authored
    Before:
    
    ```
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    
       1  describe "webmock tests" do
      22    it "body" do
      27      query = Cutlass::FunctionQuery.new(
    > 28        port: port
    > 29        body: body
      30      ).call
      34    end
      35  end
    ```
    
    After:
    
    ```
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    
       1  describe "webmock tests" do
      22    it "body" do
      27      query = Cutlass::FunctionQuery.new(
    > 28        port: port
    > 29        body: body
      30      ).call
      34    end
      35  end
    ```
    
    https://github.com/ruby/syntax_suggest/commit/becf097e5e
    c175e265
    [ruby/syntax_suggest] Remove duplicate error messages
    Schneems authored
    Before:
    
    ```
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    
       1  describe "webmock tests" do
      22    it "body" do
      27      query = Cutlass::FunctionQuery.new(
    > 28        port: port
    > 29        body: body
      30      ).call
      34    end
      35  end
    ```
    
    After:
    
    ```
    Expected a newline or semicolon after the statement
    Cannot parse the expression
    
       1  describe "webmock tests" do
      22    it "body" do
      27      query = Cutlass::FunctionQuery.new(
    > 28        port: port
    > 29        body: body
      30      ).call
      34    end
      35  end
    ```
    
    https://github.com/ruby/syntax_suggest/commit/becf097e5e
Loading