Fixed tests
This commit is contained in:
parent
01f751805e
commit
d8a2f839d2
|
@ -0,0 +1,281 @@
|
|||
mode: atomic
|
||||
github.com/prologic/go-gopher/gopher.go:82.38,84.2 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:103.36,104.12 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:105.12,106.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:107.17,108.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:109.17,110.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:111.13,112.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:113.14,114.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:115.18,116.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:117.17,118.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:119.19,120.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:121.14,122.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:123.14,124.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:125.17,126.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:127.14,128.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:129.11,130.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:131.13,132.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:133.12,134.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:135.12,136.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:137.13,138.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:139.11,140.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:141.11,142.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:143.10,144.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:161.53,164.23 2 12
|
||||
github.com/prologic/go-gopher/gopher.go:168.2,175.20 2 11
|
||||
github.com/prologic/go-gopher/gopher.go:182.2,182.20 1 11
|
||||
github.com/prologic/go-gopher/gopher.go:189.2,189.20 1 11
|
||||
github.com/prologic/go-gopher/gopher.go:204.2,204.21 1 11
|
||||
github.com/prologic/go-gopher/gopher.go:210.2,210.8 1 11
|
||||
github.com/prologic/go-gopher/gopher.go:164.23,166.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:175.20,177.3 1 10
|
||||
github.com/prologic/go-gopher/gopher.go:177.3,179.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:182.20,184.3 1 10
|
||||
github.com/prologic/go-gopher/gopher.go:184.3,186.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:189.20,191.17 2 10
|
||||
github.com/prologic/go-gopher/gopher.go:198.3,198.19 1 10
|
||||
github.com/prologic/go-gopher/gopher.go:191.17,193.25 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:196.4,196.17 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:193.25,195.5 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:199.3,201.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:204.21,205.31 1 10
|
||||
github.com/prologic/go-gopher/gopher.go:205.31,207.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:214.46,230.2 1 6
|
||||
github.com/prologic/go-gopher/gopher.go:233.46,244.29 10 10
|
||||
github.com/prologic/go-gopher/gopher.go:249.2,251.15 2 10
|
||||
github.com/prologic/go-gopher/gopher.go:244.29,247.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:254.39,255.16 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:256.17,257.14 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:258.19,259.14 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:260.10,261.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:271.46,274.2 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:277.46,279.28 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:286.2,286.28 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:279.28,281.17 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:284.3,284.20 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:281.17,283.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:300.41,302.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:306.2,306.26 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:310.2,316.24 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:327.2,333.19 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:347.2,350.25 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:366.2,366.18 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:302.16,304.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:306.26,308.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:316.24,319.17 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:322.3,322.16 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:319.17,321.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:323.3,325.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:333.19,336.23 3 1
|
||||
github.com/prologic/go-gopher/gopher.go:336.23,338.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:339.3,339.27 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:339.27,342.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:342.3,345.3 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:350.25,352.17 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:356.3,356.14 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:352.17,354.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:357.3,359.17 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:363.3,363.20 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:359.17,361.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:372.47,373.25 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:377.2,378.16 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:382.2,383.16 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:388.2,388.18 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:373.25,375.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:378.16,380.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:383.16,386.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:393.52,394.26 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:398.2,399.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:403.2,404.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:408.2,414.21 5 2
|
||||
github.com/prologic/go-gopher/gopher.go:433.2,433.30 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:394.26,396.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:399.16,401.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:404.16,406.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:414.21,417.21 2 9
|
||||
github.com/prologic/go-gopher/gopher.go:421.3,421.39 1 9
|
||||
github.com/prologic/go-gopher/gopher.go:425.3,426.17 2 7
|
||||
github.com/prologic/go-gopher/gopher.go:430.3,430.30 1 7
|
||||
github.com/prologic/go-gopher/gopher.go:417.21,418.12 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:421.39,422.9 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:426.17,428.12 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:507.45,510.9 3 1
|
||||
github.com/prologic/go-gopher/gopher.go:513.2,513.10 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:510.9,512.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:516.46,517.30 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:524.2,524.16 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:517.30,519.31 2 23
|
||||
github.com/prologic/go-gopher/gopher.go:522.3,522.11 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:519.31,520.12 1 19
|
||||
github.com/prologic/go-gopher/gopher.go:528.37,530.16 2 5
|
||||
github.com/prologic/go-gopher/gopher.go:534.2,534.16 1 5
|
||||
github.com/prologic/go-gopher/gopher.go:538.2,539.16 2 5
|
||||
github.com/prologic/go-gopher/gopher.go:543.2,545.32 3 5
|
||||
github.com/prologic/go-gopher/gopher.go:549.2,551.36 3 4
|
||||
github.com/prologic/go-gopher/gopher.go:530.16,532.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:534.16,536.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:539.16,541.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:545.32,547.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:575.70,577.20 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:580.2,580.30 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:577.20,579.3 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:589.41,591.16 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:595.2,596.16 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:600.2,600.20 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:591.16,593.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:596.16,598.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:617.68,619.16 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:623.2,624.16 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:627.2,631.16 4 0
|
||||
github.com/prologic/go-gopher/gopher.go:635.2,635.20 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:619.16,621.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:624.16,626.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:631.16,633.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:639.46,646.6 5 1
|
||||
github.com/prologic/go-gopher/gopher.go:646.6,648.17 2 3
|
||||
github.com/prologic/go-gopher/gopher.go:653.3,654.18 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:648.17,651.4 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:685.46,691.2 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:693.43,698.16 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:709.2,710.9 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:698.16,699.20 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:702.3,702.60 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:705.3,706.9 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:699.20,701.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:702.60,704.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:713.58,724.24 6 2
|
||||
github.com/prologic/go-gopher/gopher.go:729.2,729.43 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:733.2,733.17 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:724.24,726.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:729.43,731.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:736.36,741.2 4 2
|
||||
github.com/prologic/go-gopher/gopher.go:743.74,747.16 4 2
|
||||
github.com/prologic/go-gopher/gopher.go:751.2,753.16 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:757.2,758.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:762.2,763.27 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:772.2,778.15 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:747.16,749.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:753.16,755.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:758.16,760.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:763.27,766.3 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:766.3,770.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:781.59,782.23 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:782.23,784.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:784.3,786.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:815.57,818.2 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:849.79,852.2 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:895.30,895.54 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:903.51,904.23 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:908.2,909.25 2 4
|
||||
github.com/prologic/go-gopher/gopher.go:912.2,912.55 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:904.23,907.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:909.25,911.3 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:916.33,917.13 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:920.2,920.17 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:923.2,926.37 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:929.2,929.11 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:917.13,919.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:920.17,922.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:926.37,928.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:934.73,936.26 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:946.2,946.8 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:936.26,937.34 1 4
|
||||
github.com/prologic/go-gopher/gopher.go:940.3,940.29 1 3
|
||||
github.com/prologic/go-gopher/gopher.go:937.34,938.12 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:940.29,944.4 3 3
|
||||
github.com/prologic/go-gopher/gopher.go:957.70,959.2 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:962.75,967.14 4 2
|
||||
github.com/prologic/go-gopher/gopher.go:971.2,971.8 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:967.14,969.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:976.64,979.2 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:983.62,987.19 3 2
|
||||
github.com/prologic/go-gopher/gopher.go:990.2,990.20 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:993.2,993.29 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:997.2,997.18 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:1000.2,1000.73 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:987.19,988.46 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:990.20,991.31 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:993.29,994.57 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:997.18,999.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1004.89,1006.2 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1015.64,1017.2 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1056.37,1058.2 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1060.49,1061.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1065.2,1065.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1069.2,1069.21 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1061.15,1063.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1065.15,1067.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1072.49,1073.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1077.2,1077.15 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1082.2,1089.23 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1073.15,1075.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1077.15,1080.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1092.48,1093.15 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1097.2,1097.15 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1102.2,1109.23 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:1093.15,1095.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1097.15,1100.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1112.45,1113.15 1 7
|
||||
github.com/prologic/go-gopher/gopher.go:1117.2,1117.15 1 7
|
||||
github.com/prologic/go-gopher/gopher.go:1121.2,1121.33 1 7
|
||||
github.com/prologic/go-gopher/gopher.go:1126.2,1127.16 2 7
|
||||
github.com/prologic/go-gopher/gopher.go:1131.2,1132.16 2 7
|
||||
github.com/prologic/go-gopher/gopher.go:1136.2,1136.12 1 7
|
||||
github.com/prologic/go-gopher/gopher.go:1113.15,1115.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1117.15,1119.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1121.33,1124.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1127.16,1129.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1132.16,1134.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1139.38,1140.15 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:1147.2,1148.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:1152.2,1153.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:1157.2,1157.8 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:1140.15,1142.17 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:1142.17,1144.4 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1148.16,1150.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1153.16,1155.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1166.44,1168.2 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1171.45,1173.2 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1177.32,1177.64 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1190.42,1192.2 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1194.65,1196.36 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:1200.2,1200.44 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1196.36,1199.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1214.28,1216.2 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1219.46,1222.34 1 2
|
||||
github.com/prologic/go-gopher/gopher.go:1225.2,1226.15 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:1229.2,1232.16 2 2
|
||||
github.com/prologic/go-gopher/gopher.go:1235.2,1235.15 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1222.34,1224.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1226.15,1228.3 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1232.16,1234.3 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1258.67,1264.16 4 1
|
||||
github.com/prologic/go-gopher/gopher.go:1270.2,1272.29 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:1264.16,1269.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1272.29,1273.28 1 9
|
||||
github.com/prologic/go-gopher/gopher.go:1276.3,1276.34 1 6
|
||||
github.com/prologic/go-gopher/gopher.go:1273.28,1274.12 1 3
|
||||
github.com/prologic/go-gopher/gopher.go:1276.34,1281.18 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:1285.4,1291.6 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1281.18,1284.5 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1292.4,1292.42 1 5
|
||||
github.com/prologic/go-gopher/gopher.go:1292.42,1297.18 2 5
|
||||
github.com/prologic/go-gopher/gopher.go:1302.4,1310.6 2 5
|
||||
github.com/prologic/go-gopher/gopher.go:1297.18,1300.5 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1317.37,1317.54 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1318.37,1318.73 1 25
|
||||
github.com/prologic/go-gopher/gopher.go:1319.37,1319.64 1 17
|
||||
github.com/prologic/go-gopher/gopher.go:1322.74,1326.16 3 1
|
||||
github.com/prologic/go-gopher/gopher.go:1330.2,1333.16 3 1
|
||||
github.com/prologic/go-gopher/gopher.go:1339.2,1339.15 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1354.2,1354.15 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1359.2,1359.23 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1326.16,1329.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1333.16,1336.3 2 0
|
||||
github.com/prologic/go-gopher/gopher.go:1339.15,1342.17 3 1
|
||||
github.com/prologic/go-gopher/gopher.go:1342.17,1345.18 3 0
|
||||
github.com/prologic/go-gopher/gopher.go:1345.18,1349.5 3 0
|
||||
github.com/prologic/go-gopher/gopher.go:1354.15,1357.3 2 1
|
||||
github.com/prologic/go-gopher/gopher.go:1363.72,1365.2 1 0
|
||||
github.com/prologic/go-gopher/gopher.go:1370.46,1372.2 1 1
|
||||
github.com/prologic/go-gopher/gopher.go:1377.73,1379.2 1 1
|
|
@ -51,12 +51,12 @@ func TestFileServer(t *testing.T) {
|
|||
|
||||
res, err := gopher.Get("gopher://localhost:7000/")
|
||||
assert.NoError(err)
|
||||
assert.Len(res.Dir.Items, 5)
|
||||
assert.Len(res.Dir.Items, 6)
|
||||
|
||||
json, err := res.Dir.ToJSON()
|
||||
assert.Nil(err)
|
||||
|
||||
assert.JSONEq(string(json), `{"items":[{"type":"0","description":"LICENSE","selector":"LICENSE","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"README.md","selector":"README.md","host":"127.0.0.1","port":7000,"extras":[]},{"type":"1","description":"examples","selector":"examples","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"gopher.go","selector":"gopher.go","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"gopher_test.go","selector":"gopher_test.go","host":"127.0.0.1","port":7000,"extras":[]}]}`)
|
||||
assert.JSONEq(string(json), `{"items":[{"type":"0","description":"LICENSE","selector":"LICENSE","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"README.md","selector":"README.md","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"coverage.txt","selector":"coverage.txt","host":"127.0.0.1","port":7000,"extras":[]},{"type":"1","description":"examples","selector":"examples","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"gopher.go","selector":"gopher.go","host":"127.0.0.1","port":7000,"extras":[]},{"type":"0","description":"gopher_test.go","selector":"gopher_test.go","host":"127.0.0.1","port":7000,"extras":[]}]}`)
|
||||
}
|
||||
|
||||
func TestParseItemNull(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue