shell-tests.el 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. ;;; shell-tests.el -*- lexical-binding:t -*-
  2. ;; Copyright (C) 2010-2017 Free Software Foundation, Inc.
  3. ;; This file is part of GNU Emacs.
  4. ;; GNU Emacs is free software: you can redistribute it and/or modify
  5. ;; it under the terms of the GNU General Public License as published by
  6. ;; the Free Software Foundation, either version 3 of the License, or
  7. ;; (at your option) any later version.
  8. ;; GNU Emacs is distributed in the hope that it will be useful,
  9. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. ;; GNU General Public License for more details.
  12. ;; You should have received a copy of the GNU General Public License
  13. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  14. ;;; Commentary:
  15. ;; Tests for comint and related modes.
  16. ;;; Code:
  17. (require 'shell)
  18. (require 'ert)
  19. (ert-deftest shell-tests-unquote-1 ()
  20. "Test problem found by Filipp Gunbin in emacs-devel."
  21. (should (equal (car (shell--unquote&requote-argument "te'st" 2)) "test")))
  22. ;;; shell-tests.el ends here