The robots.txt can be tested here in the Google search console or some other tools like this: https://seositecheckup.com/tools/robotstxt-test