diff --git a/test/mask_test.js b/test/mask_test.js index 35a08de..cb628aa 100644 --- a/test/mask_test.js +++ b/test/mask_test.js @@ -53,3 +53,9 @@ test("with a negative number as parameter", function() { input.maskMoney("mask", -123456.78); equal(input.val(), "-123,456.78", "mask method when trigged with a negative number as parameter correctly formatted input value"); }); + +test("with a suffix", function() { + var input = $("#input1").maskMoney({suffix: " €"}); + input.maskMoney("mask", 20316.22); + equal(input.val(), "20,316.22 €", ""); +});