-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathformat.test.js.snap
More file actions
41 lines (32 loc) · 1.04 KB
/
format.test.js.snap
File metadata and controls
41 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`SimpleStorage.sol format 1`] = `
====================================options=====================================
parsers: ["slang"]
printWidth: 80
| printWidth
=====================================input======================================
pragma solidity ^0.4.0;
contract SimpleStorage {
string public name = "SimpleStorage";
uint storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint) {
return storedData;
}
}
=====================================output=====================================
pragma solidity ^0.4.0;
contract SimpleStorage {
string public name = "SimpleStorage";
uint storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint) {
return storedData;
}
}
================================================================================
`;