Formatted

This commit is contained in:
Eishun Kondoh 2018-01-30 22:47:31 +09:00
parent 5fc01a9bec
commit 7635272fbd
150 changed files with 5055 additions and 4032 deletions

View file

@ -6,8 +6,8 @@ defmodule OfpPortStatusTest do
test "with OFP_PORT_STATUS packet" do
{:ok, port_status, ""} =
"test/packet_data/libofproto-OFP13-port_status.packet"
|> File.read!
|> Openflow.read
|> File.read!()
|> Openflow.read()
assert port_status.version == 4
assert port_status.xid == 0
@ -27,8 +27,8 @@ defmodule OfpPortStatusTest do
test "with OFP_PORT_STATUS packet(with kanji port name)" do
{:ok, port_status, ""} =
"test/packet_data/4-39-ofp_port_status.packet"
|> File.read!
|> Openflow.read
|> File.read!()
|> Openflow.read()
assert port_status.version == 4
assert port_status.xid == 0