我使用CEDILLN框架来运行我的代码的单元测试。将预处理器选项设置为true,以嘲笑头文件给了我以下错误。在UTF 8i中无效的字节序列知道错误是因为头文件中的注释中的非标准字符而发生的,而Ruby抛出了一个错误。
以上来自于百度翻译
以下为原文
I am using the Ceedling framework to run my unit tests for my code. Setting the preprocessor option to true for mocking a header file gave me the following error.
rake aborted!
ArgumentError: invalid byte sequence in UTF-8
I know the error occurs because of non-standard characters in a comment in the header file and ruby throws an error.
我使用CEDILLN框架来运行我的代码的单元测试。将预处理器选项设置为true,以嘲笑头文件给了我以下错误。在UTF 8i中无效的字节序列知道错误是因为头文件中的注释中的非标准字符而发生的,而Ruby抛出了一个错误。
以上来自于百度翻译
以下为原文
I am using the Ceedling framework to run my unit tests for my code. Setting the preprocessor option to true for mocking a header file gave me the following error.
rake aborted!
ArgumentError: invalid byte sequence in UTF-8
I know the error occurs because of non-standard characters in a comment in the header file and ruby throws an error.
举报