From efa09acc899777f083ef5f2f8d682bd7fdf93445 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 20 Dec 2017 23:07:45 +0100 Subject: [PATCH] Add tests for domain argument See #7. --- features/makepot-plugin.feature | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/features/makepot-plugin.feature b/features/makepot-plugin.feature index d74f2d0b..c41e4c62 100644 --- a/features/makepot-plugin.feature +++ b/features/makepot-plugin.feature @@ -74,3 +74,42 @@ Feature: Generate a POT file of a WordPress plugin "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" """ + + Scenario: Ignores any other text domain + Given an empty foo-plugin directory + And a foo-plugin/foo-plugin.php file: + """ +