package knowledge

import "testing"

func TestNormalizePatrolKeywordListPreservesUserInput(t *testing.T) {
	got := NormalizePatrolKeywordList([]string{" 化療 沐浴乳 ", "化療 沐浴乳", "敏感肌"})
	if len(got) != 2 {
		t.Fatalf("expected 2 keywords, got %v", got)
	}
	if got[0] != "化療 沐浴乳" || got[1] != "敏感肌" {
		t.Fatalf("unexpected normalize result: %v", got)
	}
}
