BUG: C:\Users\10173\Documents\MyDapp\pet-shop-tutorial>truffle test Using network 'development'.
Compiling .\contracts\Adoption.sol Compiling .\contracts\Migrations.sol Compiling .\test\TestAdoption.sol Artifacts written to C:\Users\10173\AppData\Local\Temp\test-202065-23036-1kpubwl.2qnx Compiled successfully using:
- solc: 0.5.16+commit.9c3226ce.Emscripten.clang
TestAdoption 1) "before all" hook: prepare suite
0 passing (229ms) 1 failing
1) TestAdoption "before all" hook: prepare suite: TypeError: Error parsing C:/Users/10173/Documents/MyDapp/pet-shop-tutorial/contracts/Adoption.sol: Cannot destructure property 'body' of 'undefined' as it is undefined. at getImports (C:\Users\10173\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\profiler\getImports.js:5:28) at C:\Users\10173\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\profiler\index.js:145:1
操作步骤是按照社区中的: 求解?诸位大佬救救萌新吧!!!