Glenn Gabe on Twitter: "@AlexisKSanders BTW, the robots.txt Tester in GSC also ignores a /robots.txt directive. So they baked in that functionality to show it won't do anything. :) You can test
Robots.txt Tester: Use Online Free Tool for SEO | Sitechecker