From a542dd1575c8fbb6b2cfb1b851bbf822a1d573f6 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sat, 13 Mar 2021 02:32:28 +0100 Subject: [PATCH] add punctuation --- spec/rolls/check-evaluation.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/rolls/check-evaluation.spec.ts b/spec/rolls/check-evaluation.spec.ts index 5c2796c3..539a89fd 100644 --- a/spec/rolls/check-evaluation.spec.ts +++ b/spec/rolls/check-evaluation.spec.ts @@ -3,19 +3,19 @@ import { assignSubChecksToDice } from "../../src/module/rolls/check-evaluation"; Object.defineProperty(globalThis, "game", { value: { i18n: { localize: (key: string) => key } } }); describe("assignSubChecksToDice with no dice", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([], 10)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); }); describe("assignSubChecksToDice with more dice than required by the checkTargetNumber", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([10, 10], 10)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); }); describe("assignSubChecksToDice with less dice than required by the checkTargetNumber", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([10], 21)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); });