Skip to content

Commit 01f43d9

Browse files
committed
fixed test case and updated the updated changelog
1 parent d8cc67a commit 01f43d9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.8.1 (2021-xx-xx)
9+
* Enhancements
10+
* Fix for serializing BSON Regex without options (thanks to MillionIntegrals)
11+
* Misc doc changes (thanks to kianmeng)
812

913
## 0.8.0 (2021-11-07) (0.7.5 was not published)
1014
* Enhancements

test/bson/types_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ defmodule BSON.TypesTest do
4444

4545
test "inspect BSON.Regex" do
4646
value = %BSON.Regex{pattern: "abc"}
47-
assert inspect(value) == "#BSON.Regex<\"abc\">"
47+
assert inspect(value) == "#BSON.Regex<\"abc\", \"\">"
4848

4949
value = %BSON.Regex{pattern: "abc", options: "i"}
5050
assert inspect(value) == "#BSON.Regex<\"abc\", \"i\">"

0 commit comments

Comments
 (0)