spec/lib/cmakevim/rspec.rb
# Public: Santitizes output of Vim command.
Santitizes output of Vim command.
Santitizes output of Vim command .
def validate_response(command)
      result = vim.command(command)
      expect(result).to_not be_empty
      expect(result).to_not match(/:E(\d+)/)
      result
    end
def validate_response ( command ) result = vim . command ( command ) expect ( result ) . to_not be_empty expect ( result ) . to_not match ( / :E( \d +) / ) result end
Public: Santitizes output of Vim command.
Public : Santitizes output of Vim command .
command