check_factory_dots function

Check that no dots-argument is misspelled