style(test): move common functions in lexicons_test
authored by
tangled.org
e51b5386
872d304f