我一直在为switch case编写测试用例,共有2个测试用例。我收到这个lint错误,上面写着Update or refactor this function so that its implementation does not duplicate other。由于开关情况包含在类似的情况下,我需要帮助来引用我的代码。这是我的两个箱子
it('case 1', () =&
对于用Kotlin编写的应用程序,我使用带反引号的方法名进行测试,如下所示: fun `API login error - don't save token or user`() { 它工作了,测试编译和工作没有问题,但Android Studio中的Lint用消息Identifier not allowed in Android将这些方法标记为错误。有没有办法抑制这种情况,让Lint检查没有错误地通过,并且在Android Studio中它