Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
solidity-coverage/test/cli/truffle-crash.js

11 lines
283 B

8 years ago
/* eslint-env node, mocha */
/* global artifacts, contract */
var Simple = artifacts.require('./Simple.sol');
// This test should break truffle because it has a syntax error.
8 years ago
contract('Simple', () => {
it('should crash', function(){
return Simple.deployed().then.why.
})
})