mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
10 lines
279 B
EmacsLisp
10 lines
279 B
EmacsLisp
(require 'ert)
|
|
(require 'gilded-rose)
|
|
|
|
(ert-deftest check-name-of-item ()
|
|
"Test that item is called sweets. This test should fail!"
|
|
(let ((sweets (make-item "sweets" 5 5)))
|
|
(should (string= (item-name sweets) "You should change this"))))
|
|
|
|
(ert-run-tests-interactively t)
|