#!/bin/sh
#
# Test, that "daß" exists in wordlist bug "dass" does not.
#
# (c) 2018 Roland Rosenfeld <roland@debian.org>

WLIST=/usr/share/dict/ngerman
if ! grep -q '^dass$' $WLIST
then
    echo "'dass' missing in wordlist"
    exit 1
fi
if grep -q '^daß$' $WLIST
then
    echo "'daß' should not be in wordlist (old German spelling)"
    exit 1
fi
