From 10fca59640b154bd5cfdf668dd0dccb13acb6dc5 Mon Sep 17 00:00:00 2001 From: fap <459631+fapdash@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:02:01 +0200 Subject: [PATCH] practice-exercise-generator: Don't include commas in test names fixes #419 --- tools/practice-exercise-generator.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/practice-exercise-generator.el b/tools/practice-exercise-generator.el index 09548633..5b4d7862 100644 --- a/tools/practice-exercise-generator.el +++ b/tools/practice-exercise-generator.el @@ -171,7 +171,9 @@ Each hash-table has the keys: ("test-name" (string-inflection-kebab-case-function (replace-regexp-in-string - "[ |_]" "-" (gethash "description" elem)))) + "," "" + (replace-regexp-in-string + "[ |_]" "-" (gethash "description" elem))))) ("uuid" (gethash "uuid" elem)) ("reimplements" (gethash "reimplements" elem)) ("function-under-test"