Changes the throw error for test in super-illegal-non-constructor-call (#5450)

This commit is contained in:
Arshabh Kumar Agarwal
2017-03-22 09:54:28 +05:30
committed by Henry Zhu
parent ceb68f5bb7
commit a55f38b127

View File

@@ -1,3 +1,3 @@
{
"throws": "super() outside of class constructor"
"throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'."
}